From 3af8cf794792d350741e162722e635fc6070cd84 Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Tue, 23 Aug 2022 01:19:00 +0100 Subject: [PATCH] Reinstate legacy taint for control plane nodes Similar to APIs, we don't delete legacy taints and labels from the page, we leave them there and mark them as deprecated. Reinstate taint node-role.kubernetes.io/master. --- .../reference/labels-annotations-taints/_index.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/content/en/docs/reference/labels-annotations-taints/_index.md b/content/en/docs/reference/labels-annotations-taints/_index.md index 6cc36b13d8..f143a1be2d 100644 --- a/content/en/docs/reference/labels-annotations-taints/_index.md +++ b/content/en/docs/reference/labels-annotations-taints/_index.md @@ -738,10 +738,20 @@ Used on: Node Label that kubeadm applies on the control plane nodes that it manages. -### node-role.kubernetes.io/control-plane +### node-role.kubernetes.io/control-plane {#node-role-kubernetes-io-control-plane-taint} Used on: Node 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. + +### node-role.kubernetes.io/master (deprecated) {#node-role-kubernetes-io-master-taint} + +Used on: Node + +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. +Replaced by [`node-role.kubernetes.io/control-plane`](#node-role-kubernetes-io-control-plane-taint); kubeadm +no longer sets or uses this deprecated taint.