MSE Serverless provides an automatic upgrade feature that simplifies server-side updates for microservices registration and cloud-native gateways. This eliminates the need for manual operations and the associated risks of the upgrade process, as the product automatically upgrades to the latest stable version. This feature provides zero-maintenance operations, rapid risk mitigation, and a simplified upgrade workflow. This topic explains how to adjust and view the automatic upgrade settings for your MSE Serverless instances, using a cloud-native gateway as an example.
Adjust the maintenance window
When you create an MSE Serverless instance, the engine version upgrade feature is enabled by default. The default maintenance window is from 02:00 to 06:00 (UTC+8).
-
Log on to the MSE console. In the top navigation bar, select a region.
-
On the gateway list page, click the ID of the target instance.
-
In the basic information section of the basic overview page, click the edit icon next to maintenance window.
You can select a time range between 00:00 and 23:59. The duration must be at least one hour and must not span across two days.
View automatic upgrade task details
-
Log on to the MSE console. In the top navigation bar, select a region.
-
On the gateway list page, click the ID of the target instance.
-
In the runtime information section of the basic overview page, click Details next to system maintenance task.
The status of a system maintenance task is displayed as follows: A hyphen (-) is displayed if no task is scheduled. If a task is scheduled, the status of the most recent task (Scheduled, In progress, Failed, or Succeeded) is displayed along with a Details link.
-
In the maintenance task details dialog box, you can view the details of the current maintenance task, including task name, task description, scheduled time, and task status.
The maintenance task details dialog box displays information that varies with the task status. In all cases, it provides the task name and a task description with version details and a link to the version features. If the status is Pending, it also shows the scheduled time, which you can modify (but cannot postpone by more than one month).
If the task status is Succeeded, the maintenance task details dialog box is updated to show the actual Start Time and End Time. The task name, task description, and version features are still displayed.
-
(Optional) If the task status is Pending, click the edit icon next to scheduled time to change it.
Scheduled notifications and upgrade events
When an automatic upgrade is scheduled, MSE sends notifications about the task via SMS, email, and internal messages. After receiving the notification, you can adjust the task's execution time as needed.
During the execution of a scheduled automatic upgrade task, corresponding events are published to the event center. You can view these events in the MSE console's event center and configure alerts in CloudMonitor. For more information, see MSE event center overview.
|
Event type |
Event name |
|
Instance Maintenance |
Nacos Instance Version Upgrade |
|
ZooKeeper Instance Version Upgrade |
|
|
Gateway Instance Version Upgrade |
The time range is within one month from the current time.
The Maintenance task details dialog box contains the following fields: Task name (such as Cloud-native Gateway engine automatic upgrade), Task description (displays version upgrade information, such as Cloud-native Gateway version upgrade: 1.2.29->1.2.30, and provides a link to Version features), Scheduled time (which you can modify by using the date picker), and Task status.