After an application service is created, you can publish it immediately.
Prerequisites
Before you publish an application service, ensure the cluster has enough node resources, such as CPU and Memory. Otherwise, pods cannot be scheduled to nodes.
Procedure
Log on to the Containerized Application Service console. In the navigation pane on the left, click Application Publishing > Application Services.
On the Application Services page, click the name of an application service to open the Application Service Details page. In the upper-right corner, click Publish.
NoteIf the application service has multiple versions, a message appears asking
Do you want to publish the latest version of this container service?To publish a previous version, select the Versions tab and click Publish next to the version.
On the Publish Preview page, review the information and click Publish.
After the deployment ticket is created, click Publish All on the Deployment Ticket Details page.
NoteAlternatively, click a deployment task on the right, and then click Application Publishing on the left to publish a single application service.
The application service is successfully published when its status changes to Publish Succeeded.
View publishing details
After you click Publish, you are automatically redirected to the Deployment Ticket Details page.
Click a pod name to view its event details.
Retry and rollback
If a deployment fails, click Retry to continue publishing, or click Rollback to roll back to the previously published version.
You can roll back an application only if a successfully published deployment package from a previous version exists. If no successful deployment records are available, performing a rollback releases all resources.