Updated on 2024-01-26 GMT+08:00

Managing Node Scaling Policies

Scenario

After a node scaling policy is created, you can delete, edit, disable, enable, or clone the policy.

Viewing a Node Scaling Policy

You can view the associated node pool, rules, and scaling history of a node scaling policy and rectify faults according to the error information displayed.

  1. Log in to the CCE console and click the cluster name to access the cluster console.
  2. Choose Node Scaling in the navigation pane and click in front of the policy to be viewed.
  3. In the expanded area, the Associated Node Pools, Rules, and Scaling History tab pages are displayed. If the policy is abnormal, locate and rectify the fault based on the error information.

    You can also disable or enable auto scaling on the Node Pools page.

    1. Log in to the CCE console and click the cluster name to access the cluster console.
    2. In the navigation pane, choose Nodes and switch to the Node Pools tab.
    3. Locate the row containing the target node pool and click Update in the Operation column. In the window that slides out from the right, enable Auto Scaling, and configure Max. Nodes, Min. Nodes, and Cooldown Period.

Deleting a Node Scaling Policy

  1. Log in to the CCE console and click the cluster name to access the cluster console.
  2. Choose Node Scaling in the navigation pane and choose More > Delete next to the policy to be deleted.
  3. In the Delete Node Scaling Policy dialog box displayed, confirm whether to delete the policy.
  4. Click Yes to delete the policy.

Editing a Node Scaling Policy

  1. Log in to the CCE console and click the cluster name to access the cluster console.
  2. Choose Node Scaling in the navigation pane and click Edit in the Operation column of the policy to be edited.
  3. On the Edit Node Scaling Policy page displayed, modify policy parameter values listed in Table 1.
  4. After the configuration is complete, click OK.

Cloning a Node Scaling Policy

  1. Log in to the CCE console and click the cluster name to access the cluster console.
  2. Choose Node Scaling in the navigation pane and choose More > Clone next to the policy to be cloned.
  3. On the Clone Node Scaling Policy page displayed, certain parameters have been cloned. Add or modify other policy parameters based on service requirements.
  4. Click OK.

Enabling or Disabling a Node Scaling Policy

  1. Log in to the CCE console and click the cluster name to access the cluster console.
  2. Choose Node Scaling in the navigation pane and click Disable in the Operation column of the policy to be disabled. If the policy is in the disabled state, click Enable in the Operation column of the policy.
  3. In the dialog box displayed, confirm whether to disable or enable the node policy.