When you create and submit an application service, a version is generated. Each version is immutable. If you update the configuration, a new version is created. This new version must be published to take effect. For routine updates that only involve changing the image, you can use a quick operation on the application service details page.
Standard update process
Log on to the console. In the navigation pane on the left, click Publishing and O&M > Application Services.
On the Application Services page, click the name of the application service to go to its details page.
In the upper-right corner, click Edit Configuration to go to the Edit Version page.
NoteIf you have an unsubmitted draft, a dialog box appears that asks whether you want to resume editing the draft. If you click No, the current draft is deleted.
Modify the following configuration information. For more information about the parameters, see Create an application service.
The Description in the Basic Information section.
All information in the Pod Template Configuration section except for Container Name.
The number of replicas in the Scaling Configuration section.
All information in the Access Configuration section except for the service name.
NoteWhen you delete a custom SLB instance that you created in the access configuration on the Edit Application Service page, only the configuration metadata is deleted. The custom Server Load Balancer (SLB) instance itself is not deleted.
All information in the Deployment and Scheduling section.
After you make the changes, preview and submit them.
After the configuration is edited, you can view the updated version on the Versions tab of the application service details page.
On the Versions tab of the application service details page, select the new version and click Publish.
Quick update process
Log on to the console. In the navigation pane on the left, click Publishing and O&M > Application Services.
On the Application Services page, click the name of the application service to go to its details page.
Click Quick Operations, select Change Image or Scale, specify the target version image or the number of replicas, and then click Submit.
After you submit, a release ticket is automatically generated. Click Publish All to publish the changes.