All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

Cordon or drain a node

Last updated:2021-05-25 17:26:04

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.

  1. Log in to the KCE console.
  2. In the left navigation pane, click Cluster.
  3. Click the name of a cluster to go to the cluster management page.
  4. In the left navigation pane, choose Manage Nodes > Node. The Node page appears.
  5. Find the node that you want to cordon and choose More > Cordon in the Operation column.
  6. 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.

  1. Log in to the KCE console.
  2. In the left navigation pane, click Cluster.
  3. Click the name of a cluster to go to the cluster management page.
  4. In the left navigation pane, choose Manage Nodes > Node. The Node page appears.
  5. Find the node that you want to uncordon and choose More > Uncordon in the Operation column.
  6. 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.

  1. Log in to the KCE console.
  2. In the left navigation pane, click Cluster.
  3. Click the name of a cluster to go to the cluster management page.
  4. In the left navigation pane, choose Manage Nodes > Node. The Node page appears.
  5. Find the node that you want to drain and choose More > Drain in the Operation column.
  6. In the dialog box that appears, click OK to drain the node.
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback