All Products
Search
Document Center

Container Service for Kubernetes:Upgrade the configurations of a worker node

Last Updated:Dec 12, 2023

If the workload of your cluster increases, the resources of the cluster may become insufficient to meet requirements. In this case, you can expand the cluster by adding compute resources. For example, if your cluster contains more than 10 nodes, you can upgrade the configurations of worker nodes. This improves resource utilization and reduces O&M complexity. This topic describes how to upgrade the configurations of worker nodes in a Container Service for Kubernetes (ACK) cluster.

Prerequisites

An ACK cluster is created. For more information, see Create an ACK managed cluster.

Procedure

  1. Log on to the ACK console. In the left-side navigation pane, click Clusters.

  2. On the Clusters page, click the name of the cluster that you want to manage and choose Nodes > Nodes in the left-side navigation pane.

  3. Click the ID of the worker node whose configurations you want to upgrade to go to the instance details page. In this example, the worker-k8s-for-cs instance is used.

    On the instance details page, you can view information about the instance, such as the instance type.

    Pay-as-you-go worker nodes are used in this example. For more information about how to upgrade worker nodes that use other billing methods, see Overview of instance configuration changes.

  4. If Change Instance Type to the right side of Type is dimmed, the instance is running. You must click Stop to stop the instance. In the Stop Instance dialog box, set Stopped By and Stop Mode, and then click OK.

    worker实例详情

  5. Click Change Instance Type to the right side of Type.

    更改实例规格

  6. On the Change Instance Type page, select the instance type that you want to use and click Change.

    For more information about instance types, see Choose ECS specifications to create worker nodes.

  7. In the Change success message, click Console.

    You are redirected to the Instances page. You can check whether the instance type of the worker-k8s-for-cs node is changed based on the Specifications column.实例列表

  8. Find the worker-k8s-for-cs instance and choose More > Instance Status > Start in the Actions column. In the Start Instance dialog box, click OK. After the worker-k8s-for-cs node is added to the cluster, the node changes to the Running state. This indicates that the configurations of the work node are upgraded.