Automatic Upgrade
CCE Autopilot clusters support automatic upgrades to ensure cluster stability and security. You can enable automatic upgrades by specifying the maintenance configuration for each cluster. The cluster is periodically upgraded to a later patch version (for example, from v1.27.2-r0 to v1.27.3-r0) based on the cluster maintenance configuration and cluster version.
- After automatic cluster upgrades are enabled, a cluster will not be upgraded immediately. If you want to perform the upgrade immediately, perform a manual upgrade by following the instructions in Manual Upgrade.
- Before enabling automatic upgrades, learn about the upgrade mode and upgrade impacts. For details, see Upgrade Overview and Before You Start.
Maintenance Configuration
In the scheduled maintenance window, CCE Autopilot automatically performs the pre-upgrade check and upgrade operations. By specifying the maintenance configuration, you can flexibly control the execution period of each automatic upgrade to minimize risks. For example, for retail businesses, you can set the maintenance window to be performed only in the early morning of working days and close it during important activities.
If you modify the cluster maintenance configuration before an automatic upgrade, the upgrade will be performed based on the new cluster maintenance configuration. If you modify the maintenance configuration during an automatic upgrade, the upgrade will not be stopped.
Upgrade Plan
Based on the cluster maintenance configuration and CCE version, an automatic upgrade plan is generated one week later at 01:00 every Monday, and an event is sent to you seven days in advance.
If you change the maintenance configuration between 00:00 and 01:00 on Monday, the upgrade plan will not be scheduled until 01:00 on the next Monday. If you want to cancel an automatic upgrade, manually cancel the upgrade plan on the console. If you manually cancel an upgrade plan, only the current upgrade is canceled, and subsequent automatic upgrades will not be affected.
A pre-upgrade check is automatically performed every day three days before the automatic upgrade. If the check fails, an event is sent. You are advised to configure AOM alarm rules to send email or SMS notifications so you can handle the failure in a timely manner to ensure successful automatic upgrade.
Enabling Automatic Cluster Upgrades
- Log in to the CCE console and click the cluster name to access the cluster console.
- On the right of the Overview page, locate Maintenance Configuration and then click Configure.
- Specify the frequency, start time, and duration. For example, you can configure a weekly repeated maintenance window (four hours a day from Monday to Friday).
It is recommended that you set the cluster maintenance window to three hours or longer.
- Click OK. An upgrade plan will be generated based on the cluster maintenance configuration and will be automatically completed during the configured maintenance window.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot