Pods repel nodes that have certain taints when the pods are scheduled. You can add one or more taints to each node. This topic describes how to add a taint to multiple nodes at a time and delete a taint from a node.

Prerequisites

Create an ACK cluster

Add a taint to multiple nodes

  1. Log on to the ACK console.
  2. Click the Taints tab, select one or more nodes, and then click Add Taint.
  3. In the dialog box that appears, specify the name, value, and effect for the taint.
  4. Click OK.
    On the Taints tab, you can find that the taint is added to the selected nodes.

Filter nodes by taints

  1. Log on to the ACK console.
  2. Click the Taints tab, click a taint in the Taints column.
    The page automatically refreshes and displays nodes that have the taint.
    筛选污点

Delete a taint

  1. Log on to the ACK console.
  2. Click the Taints tab, select the target node, and click the delete icon to delete the taint.
  3. In the message that appears, click Confirm.
    the taint is added to the selected nodes.The page automatically refreshes and you can find that the taint is removed from the Taints column.