All Products
Search
Document Center

Container Service for Kubernetes:Manually upgrade a cluster

Last Updated:Sep 29, 2026

To mitigate security and stability risks associated with outdated versions, promptly upgrade your cluster. Upgrade the control plane and the node pools so that your entire cluster runs the new version.

Important

Before upgrading the cluster, review Upgrade a cluster to understand the upgrade process, methods, and important considerations.

Operation entry point

First, upgrade the control plane. Then, upgrade the node pools. For clusters that run version 1.30 or later, the highest supported control plane version can be two minor versions higher than the lowest kubelet version among all nodes. For example, if the lowest kubelet version among all nodes is 1.30, the control plane can be upgraded to 1.32 at most.

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

  2. On the Clusters page, click the name of your cluster. In the left navigation pane, click Operations > Upgrade Cluster.

  3. On the Upgrade Cluster page, select an available Destination Version and follow the on-screen instructions to complete the upgrade process.

Upgrade the control plane

1. Pre-check

The control plane upgrade pre-check scans for items such as deprecated APIs, and checks component compatibility and the overall cluster status.

For clusters that run version 1.20 or later, the pre-check scans for any deprecated APIs. The scan results do not affect the upgrade process. They are informational only. Address any issues before upgrading to ensure that the new cluster version operates as expected.

On the Control Plane Update tab, click Precheck to scan for potential risks prior to the upgrade. After the scan completes, view the results in the Pre-check Results section. The following figure provides an example:

image

  • Normal: The upgrade check is successful. Proceed with the upgrade.

  • Abnormal: The result does not affect the operation or status of the current cluster. Address the issues based on the provided solutions. For more information, see Cluster check items and solutions.

2. Perform the upgrade

Duration: ACK managed clusters and ACK serverless clusters, the upgrade is managed by ACK and takes approximately 5 minutes. For ACK dedicated clusters, the master nodes are upgraded one by one in sequence. Each node takes approximately 8 minutes.

After resolving the pre-check issues, click Upgrade and follow the on-screen instructions to upgrade the control plane. During the upgrade, do not deploy or modify business applications, and do not perform O&M operations such as cluster scaling or node pool management. Such operations may interrupt the upgrade or cause service disruptions.

After the control plane is upgraded, nodes added by scale-out also run the control plane version.

image

3. Post-upgrade validation

After the control plane is upgraded, check the following items:

对 The control plane has been upgraded. The cluster version is updated on the Clusters page.

对 The API Server and core components are in a Normal state.

对 Business applications operate as expected.

对 Pods can be created normally.

对 Nodes can be added normally.

4. (Optional) Continue to upgrade the control plane

To move the control plane to a later version, repeat steps 1 to 3 to run the control plane pre-check, perform the upgrade, and validate the result. Repeat this cycle until the control plane reaches the highest version available for the cluster.

Upgrade a node pool

After the control plane is upgraded, upgrade the node pool as soon as possible during off-peak hours. The node pool upgrade involves upgrading the kubelet and container runtime on the nodes.

1. Pre-check

The node pool upgrade pre-check scans the node status, system resources, disk status, and the network environment.

On the Node Pool Upgrade page, locate the destination node pool in the list and click Upgrade in the Actions column. Then, at the bottom of the page, click Precheck to scan for potential risks during the upgrade process. After the scan completes, view the results in the Pre-check Results section.

image

  • Normal: The upgrade check is successful. You can proceed with the upgrade.

  • Abnormal: The result does not affect the operation or status of the current cluster. Address the issues based on the provided solutions. For more information, see Cluster check items and solutions.

2. Configure an upgrade policy and perform the upgrade

Duration: The duration depends on how the nodes are batched. An in-place upgrade takes approximately 5 to 10 minutes per batch. A disk replacement upgrade without snapshots takes approximately 8 minutes. The specific duration is influenced by the node draining time. To create snapshots, the upgrade starts after the snapshots are created. The time required to create snapshots depends on the data volume.
  • On the Update a node pool tab, find the destination node pool in the node pool list and click Update Now.

  • In the Upgrade Policy Configuration panel, confirm the upgrade information, configure the upgrade policy as described in the following table, and then click Start Update to complete the node pool upgrade as prompted.

Configuration item

Description

Version information

The current and available versions of kubelet and the container runtime.

Update Nodes

Upgrade All Nodes, or select Specific Node and upgrade only those nodes.

Update Method

  • In-place Upgrade: The required components are updated and replaced directly on the original node. The system disk is not replaced, and the node is not re-initialized. Data on the original node is not affected.

  • Upgrade by Replacing System Disk: The node is re-initialized by replacing its system disk. The instance properties of the node, such as the node name, instance ID, and IP address, remain unchanged. However, data on the system disk is deleted. Data on data disks separately attached to the node is not affected.

    For more information about the upgrade logic and process, see Reference: In-place upgrade and disk replacement upgrade.

Ignore Warnings

Specifies whether to continue the node pool upgrade when the pre-check that runs automatically returns warning items.

Batch Update Policy

  • Maximum Number of Nodes per Batch: ACK upgrades only one node pool at a time. Nodes within the node pool are upgraded in batches based on this setting. If you pause and then resume the upgrade, the batch policy is still followed. The number of nodes in a batch increments (1, 2, 4, 8, and so on) until the maximum number of concurrent nodes is reached. After that, each batch contains the maximum number of concurrent nodes.

    For example, if the maximum number of concurrent nodes is 4, the number of nodes in each batch is 1, 2, 4, 4, 4, and so on. For more information, see Reference: In-place upgrade and disk replacement upgrade.
  • Automatic Pause Policy: The policy to pause the node upgrade process. If you select Automatic, you can also configure the Interval Between Batches. This is the duration of the interval, if any, between upgrade batches (5 to 120 minutes).

  • Interval Between Batches: The interval between two upgrade batches. If you select Do not set, the next batch starts immediately after the current batch is upgraded.

  • Auto Snapshot: If the system disks of your nodes contain important business data, you can choose whether to create snapshots for the nodes before you upgrade the node pool. This lets you back up and restore node data.

    Important

3. Post-upgrade validation

After the node pool is upgraded, check the following items:

对 The nodes have been upgraded. The kubelet and containerd versions are updated on the node details page.

对 Pod scheduling is functioning normally.

对 Business applications operate as expected.

References