updated labels node-role.kubernetes.io/control-plane and node-role.kubernetes.io/master.

pull/40636/head
lakshmi 2023-04-12 16:48:44 +05:30
parent 1f5b1f665e
commit 4b928e3392
1 changed files with 5 additions and 2 deletions

View File

@ -1114,7 +1114,7 @@ used to determine if the user has applied settings different from the kubeadm de
Used on: Node Used on: Node
Label that kubeadm applies on the control plane nodes that it manages. Label that kubeadm applies on the control plane nodes that it manages. If this label set, [EndpointSlice controller](/docs/concepts/services-networking/topology-aware-routing/#implementation-control-plane) ignores that node.
### node-role.kubernetes.io/control-plane {#node-role-kubernetes-io-control-plane-taint} ### node-role.kubernetes.io/control-plane {#node-role-kubernetes-io-control-plane-taint}
@ -1122,7 +1122,7 @@ Used on: Node
Example: `node-role.kubernetes.io/control-plane:NoSchedule` Example: `node-role.kubernetes.io/control-plane:NoSchedule`
Taint that kubeadm applies on control plane nodes to allow only critical workloads to schedule on them. Taint that kubeadm applies on control plane nodes to allow only critical workloads to schedule on them. If this taint set, EndpointSlice controller ignores that node.
### node-role.kubernetes.io/master (deprecated) {#node-role-kubernetes-io-master-taint} ### node-role.kubernetes.io/master (deprecated) {#node-role-kubernetes-io-master-taint}
@ -1133,3 +1133,6 @@ Example: `node-role.kubernetes.io/master:NoSchedule`
Taint that kubeadm previously applied on control plane nodes to allow only critical workloads to schedule on them. Taint that kubeadm previously applied on control plane nodes to allow only critical workloads to schedule on them.
Replaced by [`node-role.kubernetes.io/control-plane`](#node-role-kubernetes-io-control-plane-taint); kubeadm Replaced by [`node-role.kubernetes.io/control-plane`](#node-role-kubernetes-io-control-plane-taint); kubeadm
no longer sets or uses this deprecated taint. no longer sets or uses this deprecated taint.
{{< note >}}
The EndpointSlice controller ignores nodes with the `node-role.kubernetes.io/control-plane` or `node-role.kubernetes.io/master` label set.
{{< /note >}}