This topic describes how to manually increase or reduce the number of application instances for an application. This way, you can efficiently use application resources and reduce the cost of application resources without compromising the service quality.

Background information

You may configure a Service for an application and bind a Server Load Balancer (SLB) instance to the application. In this case, if scaling occurs, EDAS automatically adds or removes application instances that are involved in scaling to or from the list of backend servers of the SLB instance.

You may configure persistent storage for an application. In this case, if scaling occurs, EDAS automatically associates application instances that are added with the configured persistent storage.

Procedure

  1. Log on to the EDAS console.
  2. Go to the Application Overview page by using one of the following methods:
    • In the left-side navigation pane, choose Resource Management > Container Service Kubernetes Clusters or Resource Management > Serverless Kubernetes Clusters. In the top navigation bar, select a region. In the upper part of the page, select a microservice namespace. On the Container Service Kubernetes Clusters or Serverless Kubernetes Clusters page, click a cluster ID. In the Applications section of the Cluster Details page, click the name of the application that you want to manage.
    • 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 microservice namespace. Select Container Service or Serverless Kubernetes Cluster from the Cluster Type drop-down list and click the name of the application that you want to manage.
  3. In the upper-right corner of the Application Overview page, choose Scale > Manual Scaling.
  4. In the Application Scaling dialog box, specify the expected total number of pods for the application and then click OK.
    If the number of pods is set to 0, the system physically deletes all the pods on which the application is running and retains only the basic creation information of the application.
    After the scaling starts, Application change in progress... appears on the Application Overview page. You can click View Details to view the detailed application change process. Wait several minutes until the application change process is complete. After the application change process is complete, view the status of the instance in the Basic Information section of the Application Overview page. If the status shows that a pod is running, the application is deployed. Manual scaling