Manage taints
Taints mark nodes to repel specific classes of pods. You can apply one or more taints to each node. This section describes how to add and delete taints.
Prerequisites
A cluster is created or a cluster is imported.
Add a taint
Log on to the console. In the navigation pane on the left, click Cluster Management > Cluster Details to open the cluster list page.
Click a cluster card to open the Cluster Details page.
Click the Nodes tab to open the node list page.
Select a node and click More Actions > Edit Taint.
In the taint list, click Add Row. In the dialog box that appears, enter a Key and a Value, select an Effect, and then click OK. The following options are available for Effect:
NoSchedule: Prevents pods without a matching toleration from being scheduled to the node.
NoExecute: Evicts pods that are already running on the node if they do not have a matching toleration. Prevents pods without a matching toleration from being scheduled to the node.
PreferNoSchedule: Tries to avoid scheduling pods without a matching toleration to the node.
For more information, see the official documentation.
Delete a taint
Log on to the console. In the navigation pane on the left, click Cluster Management > Cluster Details to open the cluster list page.
Click a cluster card to open the Cluster Details page.
Click the Nodes tab to open the node list page.
Select a node and click More Actions > Edit Taint.
In the taint list, click Delete next to the taint.