All Products
Search
Document Center

Container Service for Kubernetes:Reschedule pods that fail to be scheduled to ECI nodes

Last Updated:Dec 20, 2023

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.

Important

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

Install virtual-kubelet-autoscaler

  1. Log on to the ACK console.

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

  3. On the App Catalog tab of the Marketplace page, find and click ack-virtual-kubelet-autoscaler.

  4. 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.

  5. 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.