This topic describes how to scale in or out an application as required after the application is created.

Procedure

  1. Log on to the Container Service console.
  2. In the left-side navigation pane under Container Service-Kubernetes, choose Applications > Deployments.
  3. Select the target deployment, click Scale in the Actions column.
  4. In the dialog box that appears, set the desired number of Pods to 4.
    Note By default, a Deployment is updated based on the rollingUpdate strategy. This ensures that a minimum number of Pods will be running during the update. You can change this number in the template file.

    On the Deployments page, find the target Deployment and verify that its number of Pods is now changed to 4.

    伸缩后