virtual-kubelet-autoscaler is the Kubernetes Autoscaler add-on provided by Alibaba Cloud. If pods fail to be scheduled to matched nodes, virtual-kubelet-autoscaler takes over and re-schedules the failed pods to elastic container instances.
Prerequisites
A Container Service for Kubernetes (ACK) cluster is created, and virtual nodes are deployed.
For more information about how to create an ACK cluster, see Create a managed Kubernetes cluster.
For more information about how to deploy virtual nodes, see Deploy ack-virtual-node in an ACK cluster.
Procedure
Log on to the ACK console.
In the left-side navigation pane, choose Marketplace > App Catalog.
On the Alibaba Cloud Apps tab, click the ack-virtual-kubelet-autoscaler application.
A large volume of applications are displayed on the Alibaba Cloud Apps tab. You can search for the application by keywords in the search box in the upper-right corner.
On the App Catalog - ack-virtual-kubelet-autoscaler page, select the created cluster from the drop-down list to deploy the application and click Create in the right-side Deploy section.
Check the deployment result.
In the left-side navigation pane, click Clusters.
Click the ID of the cluster that you want to check.
In the left-side navigation pane, choose Applications > Helm.
Check whether the state of ack-virtual-kubelet-autoscaler is Deployed.
After the add-on is installed, it can schedule pods to elastic container instances in the virtual nodes when the existing work nodes in ACK clusters are insufficient. For more information, see Schedule pods to a virtual node through the virtual-kubelet-autoscaler add-on.