### Configure and launch virtual kubelet Source: https://github.com/virtual-kubelet/alibabacloud-eci/blob/master/README.md Environment variables and command to launch the virtual-kubelet with ECI provider. ```bash export ECI_REGION=cn-hangzhou export ECI_SECURITY_GROUP=sg-123 export ECI_VSWITCH=vsw-123 export ECI_ACCESS_KEY=123 export ECI_SECRET_KEY=123 VKUBELET_TAINT_KEY=alibabacloud.com/eci virtual-kubelet --provider alibabacloud ``` -------------------------------- ### Confirm virtual kubelet connection Source: https://github.com/virtual-kubelet/alibabacloud-eci/blob/master/README.md kubectl command to verify that the virtual kubelet is connected to the Kubernetes cluster. ```bash $kubectl get node NAME STATUS ROLES AGE VERSION cn-shanghai.i-uf69qodr5ntaxleqdhhk Ready 1d v1.9.3 virtual-kubelet Ready agent 10s v1.8.3 ``` -------------------------------- ### Schedule K8s Pod to ECI via virtual kubelet Source: https://github.com/virtual-kubelet/alibabacloud-eci/blob/master/README.md Kubernetes Pod definition to schedule pods to the virtual-kubelet using node-selector and toleration. ```yaml apiVersion: v1 kind: Pod metadata: name: mypod spec: nodeName: virtual-kubelet containers: - name: nginx image: nginx tolerations: - key: alibabacloud.com/eci operator: "Exists" effect: NoSchedule ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.