You can set node schedulability in the Container Service for Kubernetes (ACK) console to adjust the loads of each node.
Procedure
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, click the name of the cluster that you want to manage and choose in the left-side navigation pane.
On the Nodes page, find the node that you want to manage and perform the following operations in the Actions column:
Choose
. In the dialog box that appears, turn off the switch and click OK. The status of the node changes to Unschedulable. The existing pods on the node can continue to provide services. However, no new pods are scheduled to the node.Choose
. In the message that appears, click Confirm. The existing pods on the node are evicted, except pods created by DaemonSets. After the node is drained, set the node to the Unschedulable state. This way, no new pods are scheduled to the node.
The status of the node changes to Unschedulable.
What to do next
If you want to resume an unschedulable node, perform the following operations:
Find the node that you want to manage and choose
in the Actions column.In the Schedulability Settings dialog box, turn on the switch and click OK.
The status of the node changes to Schedulable.