Scaling a Node Pool
You can specify a specification in a node pool for scaling.

The default node pool does not support scaling. Use Creating a Node to add a node.
- Log in to the CCE console.
- Click the cluster name to access the cluster console. Choose Nodes in the navigation pane. In the right pane, click the Node Pools tab.
- Choose Resize next to the target node pool.
- In the Resize Node Pool dialog box, configure scaling parameters.
- Resize: Add or reduce nodes for scaling.
- Use the selected flavor to increase or decrease the number of nodes.
- Select a billing mode only when adding nodes.
- Pay-per-use
Resources will be billed based on usage duration. You can provision or delete resources at any time.
- Spot price
A postpaid billing mode, in which a spot cloud server will be billed based on the service duration at a lower price than that of a pay-per-use ECS cloud server with the same specifications. For details, see Spot Pricing ECSs.
- If you purchase a data disk and an EIP while creating a spot pricing ECS, they will be automatically released when the ECS is released. If you attach data disks or bind EIPs to an existing spot pricing ECS, these resources must be manually released after the ECS is deleted.
- Spot pricing ECSs cannot be reset, accepted for management, removed, migrated, changed to yearly/monthly, or upgraded by resetting the cluster. Before resetting a cluster for an upgrade, delete spot pricing nodes and set the number of pods in the spot pricing node pool to 0.
- Spot pricing ECSs may be released if the quoted price is lower than the market price or if there are not enough resources available. Install the latest NPD add-on in the cluster so that you can receive a notification 5 minutes before a spot pricing ECS is released. This add-on generates a ReceivedReclaimNodeNotification event, adds taint node-problem-controller.cce.io/SpotPriceNodeReclaimNotification: NoExecute to the node (spot pricing ECS), and evicts pods on the node. This allows pods to be migrated to other nodes before the spot pricing ECS is deleted.
- Pay-per-use
- Configure the number of nodes to be added or deleted.
- When scaling out a node pool, make sure that the total number of nodes, both existing and new, does not exceed the management scale of the current cluster.
- When scaling in a node pool, make sure that the number of nodes to be removed does not exceed the number of nodes currently in the pool.
Scaling in can result in the unavailability of resources associated with a node, such as local storage and workloads that were scheduled to that node. Exercise caution when performing this operation to avoid impact on running services.
- Click OK.
Helpful Links
- If your application workloads have obvious peaks and troughs, enable node scaling to automatically scale in and out node resources, improving resource utilization. For details, see Creating a Node Auto Scaling Policy.
- If your node pool malfunctions, locate the fault by referring to What Should I Do If a Node Pool Scale-Out Fails?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.