The system performs a comprehensive pre-upgrade check before the cluster upgrade. If the cluster does not meet the pre-upgrade check conditions, the upgrade cannot continue. To prevent upgrade risks, you can perform pre-upgrade check according to the check items provided by this section.
Check Item |
Description |
---|---|
|
|
Check whether the current user is in the upgrade blocklist. |
|
|
|
Check whether the current HelmRelease record contains discarded Kubernetes APIs that are not supported by the target cluster version. If yes, the Helm chart may be unavailable after the upgrade. |
|
Check whether CCE can connect to your master nodes. |
|
|
|
Check whether the security group allows the master node to access nodes using ICMP. |
|
Check whether the node needs to be migrated. |
|
Check whether there are discarded resources in the clusters. |
|
Read the version compatibility differences and ensure that they are not affected. |
|
Check whether cce-agent on the current node is of the latest version. |
|
Check whether the CPU usage of the node exceeds 90%. |
|
|
|
|
|
|
|
Check whether the key directory /var/paas on the nodes contain files with abnormal owners or owner groups. |
|
Check whether the kubelet on the node is running properly. |
|
Check whether the memory usage of the node exceeds 90%. |
|
Check whether the clock synchronization server ntpd or chronyd of the node is running properly. |
|
Check whether the OS kernel version of the node is supported by CCE. |
|
Check whether the number of CPUs on the master node is greater than 2. |
|
Check whether the Python commands are available on a node. |
|
Check whether the nodes in the cluster are ready. |
|
Check whether journald of a node is normal. |
|
Check whether the containerd.sock file exists on the node. This file affects the startup of container runtime in the Euler OS. |
|
Before the upgrade, check whether an internal error occurs. |
|
Check whether inaccessible mount points exist on the node. |
|
Check whether the taint needed for cluster upgrade exists on the node. |
|
Check whether the current everest add-on has compatibility restrictions. |
|
Check whether the current cce-controller-hpa add-on has compatibility restrictions. |
|
Check whether the current cluster version and the target version support enhanced CPU policy. |
|
Check whether the container runtime and network components on the user node are healthy. |
|
Check whether the Kubernetes, container runtime, and network components of the controller node are healthy. |
|
Check whether the resources of Kubernetes components, such as etcd and kube-controller-manager, exceed the upper limit. |
|
Check whether the called API has been discarded in the target Kubernetes version. |
|
If IPv6 is enabled for a CCE Turbo cluster, check whether the target cluster version supports IPv6. |
|
Check whether NetworkManager of a node is normal. |
|
Check the ID file format. |
|
When you upgrade a CCE cluster to v1.19 or later, the system checks whether the following configuration files have been modified in the background: |
|
Check whether the configuration files of key components exist on the node. |
|
Check whether the current CoreDNS key configuration Corefile is different from the Helm release record. The difference may be overwritten during the add-on upgrade, affecting domain name resolution in the cluster. |