This topic describes how to mark a node as schedulable or unschedulable. This allows you to efficiently manage the loads on each node.

Procedure

  1. Log on to the Container Service console.
  2. In the left-side navigation pane, choose Clusters > Nodes to go to the Nodes page.
  3. Select the target cluster and then select a node. Click Set to Unschedulable.
    Nodes list
  4. In the dialog box that appears, change the node status as follows:
    • If Set to Unschedulable is selected, Pods will not be scheduled to this node when you deploy new applications.
    • If Set to Unschedulable and Drain is selected, Pods will not be scheduled to this node when you deploy new applications. Besides, Pods on this node, except the ones that are managed by DaemonSets, will be evicted.
    In this example, select Set to Unschedulable.Set a node to unschedulable
  5. Click OK.
    The node status is now changed to Unschedulable.Nodes list

What to do next

To mark a node as schedulable, click Set to Schedulable. In the dialog box that appears, click OK. The node status is changed to Schedulable.Set a node to schedulable