Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-11-11 17:43:13
This topic describes how to manage node pools in the Kingsoft Cloud Container Engine (KCE) console. For example, you can modify node pool information, node template configuration, overall configuration of a node pool, and auto scaling configuration, and manage specific nodes in node pools.
You can modify node pool information, such as the name, auto scaling, node quantity, node quantity range, labels, and taints of a node pool.
Find the target node pool and click Modify Node Pool Information in the Operation column.
In the dialog box that appears, modify the following node pool information as required:
Auto Scaling: specifies whether to disable auto scaling.
Note
- You can disable auto scaling as required. After you disable auto scaling, you cannot enable it again.
Note
- If you select this option, the update on labels and taints takes effect on the existing and newly added nodes in the node pool, which may cause the rescheduling of pods on the existing nodes. Exercise caution when you perform this operation.
- If you do not select this option, the update on labels and taints takes effect only on newly added nodes.
You can modify the following configuration of a node template: node configuration, node type, operating system, system disk, data disk, data disk mount, container storage directory, subnet, network expansion policy, security group, scripts to run before and after deployment, and cordon settings.
Note
- The update on node template configuration takes effect only on newly added nodes, without affecting the existing nodes in the node pool.
You can modify node pool information and node template configuration separately or modify the overall configuration of a node pool at a time.
On the Node Pool page, find the target node pool and click Manage in the Operation column.
If auto scaling is enabled for a node pool, you can modify the scale-out policy and automatic scale-in configuration for the corresponding cluster as required.
On the Node Pool page, click the edit icon for Cluster Scaling-Up Policy or Cluster Automatic Scaling-Down.
In the dialog box that appears, modify the following information as required:
Note
- The update on auto scaling configuration takes effect only on node pools with auto scaling enabled.
- By default, the Cluster Scaling-Up Policy parameter is set to random and the Cluster Automatic Scaling-Down option is cleared.
To add existing nodes in a cluster to a node pool, perform the following steps. Make sure that the nodes have not been added to other node pools.
Note
- Only nodes in Pay-By-Daily-Config or Pay-As-You-Go billing mode in the cluster can be added to the node pool.
- You can add only started instances in the cluster to the node pool.
You can enable or disable scale-in protection as required. After scale-in protection is enabled, the node is not removed during scale-in or node quantity adjustment. To enable scale-in protection, perform the following steps:
You can also disable scale-in protection by following the preceding procedure. After scale-in protection is disabled, the node may be removed for scale-in and node quantity adjustment.
You can cordon or drain nodes in a node pool as required. For more information, see Cordon or drain a node.
Pure Mode