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
- You can set the manual scaling policy only for the components created and deployed using the following methods:
- The component is deployed based on a container and the Workload Type is Stateless or Stateful.
- The component status is Running or Not ready. 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 based on the component deployment mode by referring to the following table:
Deployment Mode
Procedure
Container-based deployment
- Click
and change the number of instances.
- Click
.
The configuration takes effect when the component status changes from Scaling to Running.
VM-based deployment
- Click
.
- Select Scale out or Scale in for Type and add or delete component running instances based on the site requirements.
If Instances is 1, only Scale out can be selected.
- Scale out
Select the available server instances that have been managed in the current component running environment.
Click Add ECS and create an ECS to run new component instances. For details, see Purchasing a Custom ECS.
Only 64-bit Linux hosts in the Running state are supported. Ensure that the following inbound rule has been added to the security group of the host node. For details, see Adding a Security Group Rule.
- Action: Allow
- Type: IPv4
- Protocol & Port: TCP, 30000-32767
- Source: 0.0.0.0/0
- Scale in
Select the target component instance. The number of running component instances can be reduced to 1.
You can determine the target component instance based on the server where the component instance is located.
- Scale out
- Click OK.
- Click
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