Skip to content

Commit f3552a9

Browse files
authored
Merge pull request #40636 from T-Lakshmi/doc-lable-annotation
Revise details for control plane taints / labels
2 parents 35d9c5f + dafde67 commit f3552a9

File tree

1 file changed

+9
-2
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+9
-2
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,15 +1144,22 @@ used to determine if the user has applied settings different from the kubeadm de
11441144

11451145
Used on: Node
11461146

1147-
Label that kubeadm applies on the control plane nodes that it manages.
1147+
A marker label to indicate that the node is used to run {{< glossary_tooltip text="control plane" term_id="control-plane" >}} components. The kubeadm tool applies this label to the control plane nodes that it manages. Other cluster management tools typically also set this taint.
1148+
1149+
You can label control plane nodes with this label to make it easier to schedule Pods only onto these nodes, or to avoid running Pods on the control plane. If this label is set, [EndpointSlice controller](/docs/concepts/services-networking/topology-aware-routing/#implementation-control-plane) ignores that node while calculating Topology Aware Hints.
11481150

11491151
### node-role.kubernetes.io/control-plane {#node-role-kubernetes-io-control-plane-taint}
11501152

11511153
Used on: Node
11521154

1155+
Taint that kubeadm applies on control plane nodes to restrict placing pods and allow only specific pods to schedule on them.
1156+
11531157
Example: `node-role.kubernetes.io/control-plane:NoSchedule`
11541158

1155-
Taint that kubeadm applies on control plane nodes to allow only critical workloads to schedule on them.
1159+
If this Taint is applied, control plane nodes allow only critical workloads to schedule on them. You can manually remove this taint with the following command on a specific node.
1160+
```shell
1161+
kubectl taint nodes <node-name> node-role.kubernetes.io/control-plane:NoSchedule-
1162+
```
11561163

11571164
### node-role.kubernetes.io/master (deprecated) {#node-role-kubernetes-io-master-taint}
11581165

0 commit comments

Comments
 (0)