After you host an application in a Container Service for Kubernetes (ACK) cluster to Enterprise Distributed Application Service (EDAS), you can manage the lifecycle of the application in the EDAS console. You can deploy new versions of the application, deploy historical versions of the application, and scale in or out the application. You can also manage the lifecycle of the application at a finer granularity by editing the corresponding YAML file.
Access the Application Overview page
- Log on to the EDAS console.
- In the left-side navigation pane, click Applications. In the top navigation bar, select a region. In the upper part of the page, select a namespace. Select Container Service or Serverless Kubernetes Cluster from the Cluster Type drop-down list, and click the name of the desired application.
- Manage the application lifecycle on the Application Overview page.
Deploy a new version of an application
Deploy a historical version of an application
In the upper-right corner of the Application Overview page, choose . In the Deploy Historical Version dialog box, select the historical version that you want to deploy, and click Deploy This Version.
Roll back an application during deployment
To roll back an application during deployment, click View Details in the upper part of the Application Overview page. In the upper-right corner of the Change List page, click Rollback. In the Confirmation message, click OK.
Start or stop an application
When an application is in the Stopped state, you can start the application as needed. In the upper-right corner of the Application Overview page, click Start. In the Start application dialog box, set Applied pod number and click OK.
Restart an application
To restart a running application, click Restart in the upper-right corner of the Application Overview page. The new pod is started first and then the old pod is stopped to restart the application in rolling update mode.
Scale an application
In the upper-right corner of the Application Overview page, choose or choose . For more information, see Manual scaling or Auto scaling.
View application configuration details
In the upper-right corner of the Application Overview page, click Configuration Details. In the App Configurations panel, view application configuration details, including advanced configuration information such as Deployment, Pod, and Startup Command.
Delete an application
In the upper-right corner of the Application Overview page, click Delete. In the Confirmation message, click OK.
Edit the YAML file
In the Basic Information section of the Application Overview page, click Edit next to YAML. In the Edit YAML dialog box, edit the YAML file of the application to manage the lifecycle of the application at a finer granularity. Then, click Save.