Updated on 2024-11-15 GMT+08:00

Configuring a Manual Scaling Policy

This section describes how to manually configure an instance scaling policy for a component. After the policy is configured, the number of component instances increases or decreases immediately.

Prerequisites

Manual scaling policies can be configured only for components in the Running or Not ready state. For details about how to check the component status, see Viewing Component Details.

Configuring a Manual Scaling Policy

  1. Log in to ServiceStage.
  2. Use either of the following methods to go to the Scaling page.

    • On the Application Management page, click the application to which the component belongs, click the target component in Component List, and choose Scaling in the left navigation pane.
    • On the Component Management page, click the target component and choose Scaling in the left navigation pane.

  3. In the Manual Scaling area on the Scaling page, configure a manual scaling policy.

    • For components deployed in the Kubernetes environment, perform the following operations:
      1. Click and change the number of instances.
      2. Click for the instance scaling to take effect.
      Figure 1 Configuring a manual scaling policy (for Kubernetes components)
    • For VM-deployed components, perform the following operations:
      1. In the Instances area, click .
      2. Select Type and add or delete component running instances based on the site requirements.

        If Type is set to Scale out, click Add ECS and create an ECS to run new component instances. For details, see Purchasing a Custom ECS.

        If Type is set to Scale in, the number of running component instances can be reduced to 1.

      3. Click OK.
      Figure 2 Configuring a manual scaling policy (for VM components)