Pre-upgrade Check
The system automatically checks a cluster before its upgrade. If the cluster does not meet the pre-upgrade check conditions, the upgrade cannot continue. To avoid risks, you can perform pre-upgrade check according to the check items and solutions described in this section.
No. |
Check Item |
Description |
---|---|---|
1 |
|
|
2 |
Check whether the target cluster is under upgrade management. |
|
3 |
|
|
4 |
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. |
|
5 |
Check whether your master nodes can be accessed using SSH. |
|
6 |
Check whether the Protocol & Port of the worker node security groups is set to ICMP: All and whether the security group with the source IP address set to the master node security group is deleted. |
|
7 |
|
|
8 |
Check whether nodes need to be migrated. |
|
9 |
Check whether there are discarded resources in the clusters. |
|
10 |
Read the version compatibility differences and ensure that they are not affected. The patch upgrade does not involve version compatibility differences. |
|
11 |
Check whether cce-agent on the current node is of the latest version. |
|
12 |
Check whether the node's CPU usage is above 90%. |
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
Check whether the owner and owner group of the files in the /var/paas directory used by the CCE are both paas. |
|
17 |
Check whether the kubelet on the node is running properly. |
|
18 |
Check whether the node's memory usage is above 90%. |
|
19 |
Check whether the clock synchronization server ntpd or chronyd of the node is running properly. |
|
20 |
Check whether the OS kernel version of the node is supported by CCE. |
|
21 |
Check and make sure that the master nodes in your cluster have more than 2 CPU cores. |
|
22 |
Check whether the Python commands are available on a node. |
|
23 |
|
|
24 |
Check whether the nodes in the cluster are ready. |
|
25 |
Check whether journald of a node is normal. |
|
26 |
Check whether the containerd.sock file is on the node. This file affects the startup of container runtime in the Euler OS. |
|
27 |
This check item is not typical and implies that an internal error was found during the pre-upgrade check. |
|
28 |
Check whether there are inaccessible mount points on the node. |
|
29 |
Check whether the taint needed for cluster upgrade exists on the node. |
|
30 |
Check whether there are any compatibility restrictions on the current Everest add-on. |
|
31 |
Check whether there are compatibility limitations between the current and target cce-controller-hpa add-on versions. |
|
32 |
Check whether the current cluster version and the target version support enhanced CPU policy. |
|
33 |
Check whether the container runtime and network components on the worker nodes are healthy. |
|
34 |
Check whether cluster components such as the Kubernetes component, container runtime component, and network component are running properly before the upgrade. |
|
35 |
Check whether the resources of Kubernetes components, such as etcd and kube-controller-manager, exceed the upper limit. |
|
36 |
The system scans the audit logs of the past day to check whether the user calls the deprecated APIs of the target Kubernetes version.
NOTE:
Due to the limited time range of audit logs, this check item is only an auxiliary method. APIs to be deprecated may have been used in the cluster, but their usage is not included in the audit logs of the past day. Check the API usage carefully. |
|
37 |
If IPv6 is enabled for a CCE Turbo cluster, check whether the target cluster version supports IPv6. |
|
38 |
Check whether NetworkManager of a node is normal. |
|
39 |
Check the ID file format. |
|
40 |
When you upgrade a cluster to v1.19 or later, the system checks whether the following configuration files have been modified on the backend: |
|
41 |
Check whether the configuration files of key components exist on the node. |
|
42 |
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. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.