Overview
To enable interoperability from one Kubernetes installation to the next, you must upgrade your Kubernetes clusters before the maintenance period ends.
After the latest Kubernetes version is available in CCE, CCE will describe the changes in this version.
You can use the CCE console to upgrade the Kubernetes version of a cluster.
An upgrade flag will be displayed on the cluster card view if there is a new version for the cluster to upgrade.
How to check:
Cluster Upgrade
The following table describes the target version to which each cluster version can be upgraded, the supported upgrade modes, and upgrade impacts.
Source Version |
Target Version |
Upgrade Modes |
Impacts |
---|---|---|---|
v1.19 |
v1.21 |
In-place upgrade |
You need to identify the differences between versions. |
v1.17 v1.15 |
v1.19 |
In-place upgrade |
You need to identify the differences between versions. |
v1.13 |
v1.15 |
Rolling upgrade Replace upgrade |
|
Upgrade Modes
CCE provides the following upgrade modes based on the cluster version and deployment site. The upgrade processes are the same for master nodes. The differences between the upgrade modes of worker nodes are described as follows:
Upgrade Mode |
Method |
Advantage |
Disadvantage |
---|---|---|---|
In-place upgrade |
Kubernetes components, network components, and CCE management components are upgraded on the node. During the upgrade, service pods and networks are not affected. The SchedulingDisabled label will be added to all existing nodes. After the upgrade is complete, you can properly use existing nodes. |
You do not need to migrate services, ensuring service continuity. |
In-place upgrade does not upgrade the OS of a node. If you want to upgrade the OS, clear the corresponding node after the node upgrade is complete and reset the node to upgrade the OS to a new version. |
Rolling upgrade |
Only the Kubernetes components and certain network components are upgraded on the node. The SchedulingDisabled label will be added to all existing nodes to ensure that the running applications are not affected. After the upgrade is complete, you need to manually create nodes and gradually release the old nodes, thereby migrating your applications to the new nodes. In this mode, you can control the upgrade process. |
Services are not interrupted. |
- |
Replace upgrade |
The latest worker node image is used to reset the node OS. |
This is the fastest upgrade mode and requires few manual interventions. |
Data or configurations on the node will be lost, and services will be interrupted for a period of time. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.