Upgrading a Cluster
Last updated: 2019-07-19 17:32:00PDF
TKE has the feature to upgrade the Kubernetes version, which allows you to upgrade your running Kubernetes clusters.
- When upgrading a cluster, you need to upgrade the Master before the Node.
- When upgrading a node, the Pods running on the node will be evicted. Therefore, it is recommended that you create a node of appropriate configuration in advance to ensure that the cluster has enough resources to store the evicted Pods.
- When upgrading a node, the system will be reinstalled. Please back up the data in advance.
- Please check whether the nodes in the cluster are healthy before upgrading it. If there are unhealthy nodes, you can fix them by yourself or submit a ticket to contact us for assistance.
Submit a ticket to contact us for upgrading the Master.
Log in to the TKE console.
In the left navigation pane, click Clusters to go to the cluster management page.
In the row of the cluster to be upgraded, click More > Upgrade cluster.
Select the node to be upgraded (you can upgrade nodes in batches, but you need to ensure that all nodes in the cluster are upgraded), and enter the node-related configuration.
Click Finish to complete the upgrade. You can view the upgrade status of the nodes in the node list.
The nodes will be upgraded on a rolling basis, i.e., one node can be upgraded only after the previous one is upgraded.