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

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.

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

  1. Log in to the MRS management console.
  2. Choose Clusters > Active Clusters. In the cluster list, select a running cluster to access its details page.
  3. 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.

  4. Click Create Auto Scaling Policy to create an auto scaling policy.