After you create an application service, you can publish it from the LHC console.
You can publish an application service in one of the following two ways:
Prerequisites
Before you publish an application service, ensure that the cluster has sufficient node resources, such as CPU and memory. Otherwise, pods cannot be scheduled to nodes.
Method 1: Publish immediately after creating the application service
After creating the application service, click Publish Now. For more information, see Create an application service.
On the Deployment Details page, click Publish All.
NoteThe application service is published when its status changes to Published.
Method 2: Publish from the application service details page
Log on to the LHC console.
In the navigation pane on the left, click Publish O&M > Application Service.
On the application service list page, click the name of an application service to go to the Application Service Details page.
In the upper-right corner, click Publish.
NoteIf the application service has multiple versions, a message prompts you to confirm whether to publish the latest version of the container service.
To publish a previous version, click the Versions tab, and then click Publish to the right of the version.
On the Publish Preview page, verify the information, and then click Start Publish.
After the deployment is created, on the Deployment Details page, click Publish All.
NoteThe application service is published when its status changes to Published.
What to do next
View deployment details
After you click Publish, you are automatically redirected to the Deployment Details page. You can expand Deployment Tasks on the right to view the detailed deployment status.
Retry rollback
If a deployment fails, click Retry to continue the deployment, or click Rollback to restore the last successfully published version.
You can roll back an application only if it has other successfully published deployment packages besides the current version. If there are no successful deployment records, a rollback releases all resources.