Creating an Auto Scaling Policy for an Existing Cluster
The node group policy and resource pool policy are mutually exclusive. You can configure either of them as needed.
MRS 3.1.5 or later supports the specified resource pool policy.
Item |
By Node Group |
By Resource Pool |
---|---|---|
Auto scaling object |
All nodes in the task node group |
Task nodes in the resource pool specified by an auto scaling policy |
Resource pool ownership of added nodes |
Default resource pool |
Resource pool specified by the auto scaling policy |
Scale-in object |
Random scale-in of nodes in the task node group |
Random scale-in of nodes in a resource pool specified by an auto scaling policy |
Prerequisites
- A task node group has been configured by referring to Adding a Task Node.
- A resource pool has been added by referring to Creating a Resource Pool if you plan to configure auto scaling policies by resource pool.
Procedure
- Log in to the MRS management console.
- Choose Clusters > Active Clusters. In the cluster list, select a running cluster to access its details page.
- On the page that is displayed, click the Auto Scaling tab.
You can configure policies by resource pool or node group as needed.
- Auto scaling policies of different node groups are mutually exclusive. That is, you can enable auto scaling policies only for one node group.
- An auto scaling rule adjusts the number of nodes, but also affects the actual price. Exercise caution when adding an auto scaling rule.
- Click Create Auto Scaling Policy to create an auto scaling policy.
You can configure the auto scaling rules by referring to the following scenarios:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.