Cordon a node
After you cordon a node, new pods cannot be scheduled to this node. The existing pods on this node are not affected.
- Log in to the KCE console.
- In the left navigation pane, click Cluster.
- Click the name of a cluster to go to the cluster management page.
- In the left navigation pane, choose Manage Nodes > Node. The Node page appears.
- Find the node that you want to cordon and choose More > Cordon in the Operation column.
- In the dialog box that appears, click OK to cordon the node.
Uncordon a node
After you uncordon a node, new pods can be scheduled to this node.
- Log in to the KCE console.
- In the left navigation pane, click Cluster.
- Click the name of a cluster to go to the cluster management page.
- In the left navigation pane, choose Manage Nodes > Node. The Node page appears.
- Find the node that you want to uncordon and choose More > Uncordon in the Operation column.
- In the dialog box that appears, click OK to uncordon the node.
Drain a node
After you drain a node, all pods on the node, excluding pods managed by DaemonSets, are evicted to other nodes in the cluster and the node is cordoned.
- Log in to the KCE console.
- In the left navigation pane, click Cluster.
- Click the name of a cluster to go to the cluster management page.
- In the left navigation pane, choose Manage Nodes > Node. The Node page appears.
- Find the node that you want to drain and choose More > Drain in the Operation column.
- In the dialog box that appears, click OK to drain the node.