Help Center> MapReduce Service> User Guide> Configuring a Cluster> Configuring Auto Scaling Rules> Creating an Auto Scaling Policy for an Existing Cluster
Updated on 2023-07-11 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.

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

  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.
    • An auto scaling rule adjusts the number of nodes, but also affects the actual price. Exercise caution when adding an auto scaling rule.

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