You can set node schedulability in the ACK console to balance workloads across nodes.
Procedure
Log on to the ACK console. In the left navigation pane, click Clusters.
On the Clusters page, click the name of your cluster. In the left navigation pane, click .
-
On the Nodes page, find the target node and configure its schedulability in the Actions column.
-
Choose . Turn off the schedulability switch and click OK. This marks the node as unschedulable. Existing pods on the node continue to run, but no new pods are scheduled to it.
-
Choose . Click Confirm. This action evicts existing pods from the node, except for those managed by a DaemonSet. The node is then marked as unschedulable, and no new pods are scheduled to it.
-
The node's status updates to Unschedulable.
Next steps
To make an unschedulable node schedulable again:
-
Find the target node. In the Actions column, choose .
-
In the Schedulability Settings dialog box, turn on the switch and click OK.
The node's status changes to Schedulable.
Related topics
-
You can schedule pods to specific nodes by setting a node label and using a
nodeSelectorpolicy. For more information, see Schedule pods to specific nodes. -
You can set labels for a node pool to schedule application pods to nodes that have matching labels within that pool. For more information, see Schedule an application to a specific node pool.