Management node taints

Last updated:2021-09-29 22:05:22

Kingsoft Cloud Container Engine (KCE) allows you to manage the taints of nodes in a cluster. You can add taints to a node to allow the node to repel specific pods.

Add a taint

  1. Log in to the KCE console.
  2. In the left navigation pane, click Cluster.
  3. Click the ID of the cluster in which you want to add a taint to a node. The cluster details page appears.
  4. In the left navigation pane, choose Manage Nodes > Node. The Node page appears.
  5. Click Labels and Taints.
  6. Click Taint. On the Taint tab, find the target node and click Add Taint in the Operation column or on the top of the list.
  7. In the Create Taint dialog box, set the Key, Value, and Effect parameter and click OK. Then, the taint appears in the Taint column.

Value values of the Effect parameter:

  • NoSchedule: prohibits new pods from being scheduled to the node.
  • PreferNoSchedule: preferably prohibits pods without corresponding tolerations from being scheduled to the node.
  • NoExecute: prohibits pods from running on the node. If a pod is running on the node, the pod will be drained.

Edit a taint

  1. Log in to the KCE console.
  2. In the left navigation pane, click Cluster.
  3. Click the ID of the cluster in which you want to edit a taint of a node. The cluster details page appears.
  4. In the left navigation pane, choose Manage Nodes > Node. The Node page appears.
  5. Click Labels and Taints.
  6. Click Taint. On the Taint tab, find the target node and click the edit icon next to the taint that you want to modify.
  7. In the Edit Taint dialog box, modify the Value and Effect parameters as required and click OK. Then, the updated taint appears in the Taint column.

Remove a taint

  1. Log in to the KCE console.
  2. In the left navigation pane, click Cluster.
  3. Click the ID of the cluster in which you want to remove a taint from a node. The cluster details page appears.
  4. In the left navigation pane, choose Manage Nodes > Node. The Node page appears.
  5. Click Labels and Taints.
  6. Click Taint. On the Taint tab, find the target node and click the delete icon next to the taint that you want to remove.
  7. In the Delete Taint message, click OK. Then, the taint disappears from the Taint column.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈