virtual-kubelet-autoscaler is a Kubernetes autoscaler plug-in that is provided by Alibaba Cloud. Pod scheduling may fail if no nodes meet the pod scheduling requirements. For example, pod scheduling may fail if the number of existing Elastic Compute Service (ECS) worker nodes is insufficient. In this case, virtual-kubelet-autoscaler takes over the scheduling task and reschedules the pods that fail to be scheduled to an Elastic Container Instance (ECI)-based virtual node.
The installation of virtual-kubelet-autoscaler consumes pod resources on a node. If you are using an ACK Pro cluster, we recommend that you spread ECI-based pods across zones and configure node affinity based on the Kubernetes-native scheduling semantics.
Prerequisites
A Container Service for Kubernetes (ACK) managed cluster is created. For more information, see Create an ACK managed cluster.
A virtual node is deployed in the cluster. For more information, see Deploy the virtual node controller and use it to create Elastic Container Instance-based pods.
Install virtual-kubelet-autoscaler
Log on to the ACK console.
In the left-side navigation pane of the ACK console, choose .
On the App Catalog tab of the Marketplace page, find and click ack-virtual-kubelet-autoscaler.
On the details page of the ack-virtual-kubelet-autoscaler component, click Deploy in the upper-right corner. In the Deploy panel, select a cluster and a namespace, and then click Next.
On the Parameters wizard page, select the latest chart version and then click OK. By default, the latest chart version is selected.
After ack-virtual-kubelet-autoscaler is installed, click the cluster that you want to manage and choose Applications>Helm in the left-side navigation pane to view the application.