All Products
Search
Document Center

Install the virtual-kubelet-autoscaler add-on in an ACK cluster

Last Updated: Sep 08, 2021

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.

Procedure

  1. Log on to the ACK console.

  2. In the left-side navigation pane, choose Marketplace > App Catalog.

  3. 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 use the search box in the upper-right corner to search for applications.

  4. On the 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.Deploy autoscaler1

  5. Check the deployment result.

    1. In the left-side navigation pane, click Clusters.

    2. Click the ID of the cluster that you want to check.

    3. In the left-side navigation pane, choose Applications > Helm.

    4. Check whether the state of ack-virtual-kubelet-autoscaler is Deployed.Deploy autoscaler

After the add-on is installed, it can schedule pods to elastic container instances in the virtual nodes when the nodes in ACK clusters are insufficient. For more information, see Schedule pods to a virtual node through the virtual-kubelet-autoscaler add-on.