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
- Log in to ServiceStage.
- 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.
If the component is created by Creating a Component by Importing a CCE Workload and is not enabled:
- In the displayed dialog box, click OK.
- On the Enable Component page, click Enable and wait until the component is restarted.
- 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:
- Click and change the number of instances.
- 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:
- In the Instances area, click .
- 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.
- Click OK.
Figure 2 Configuring a manual scaling policy (for VM components)
- For components deployed in the Kubernetes environment, perform the following operations:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot