All Documents
Current Document

Content is empty

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

Documentation

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.
On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback