From 1f34679e9f7feb486a66763495d16fa82f89b64d Mon Sep 17 00:00:00 2001 From: Vitthal Sai Date: Thu, 25 Nov 2021 12:29:18 +0530 Subject: [PATCH 1/3] Correcting the docs for label kubernetes.io/metadata.name --- content/en/docs/reference/labels-annotations-taints.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/en/docs/reference/labels-annotations-taints.md b/content/en/docs/reference/labels-annotations-taints.md index 07e6d19426..25decbed37 100644 --- a/content/en/docs/reference/labels-annotations-taints.md +++ b/content/en/docs/reference/labels-annotations-taints.md @@ -36,10 +36,9 @@ Example: `kubernetes.io/metadata.name=mynamespace` Used on: Namespaces -When the `NamespaceDefaultLabelName` -[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled, -the Kubernetes API server sets this label on all namespaces. The label value is set to -the name of the namespace. +The [`Control Plane`](https://kubernetes.io/docs/concepts/overview/components/) +sets this label on all namespaces. It is **mandatory** to `set a label` +on all the namespaces. The label value is set to the name of the namespace. This is useful if you want to target a specific namespace with a label {{< glossary_tooltip text="selector" term_id="selector" >}}. From 82c3a0785d940fbd82fc5a07a14b1193cf985451 Mon Sep 17 00:00:00 2001 From: Vitthal Sai Date: Thu, 25 Nov 2021 14:47:29 +0530 Subject: [PATCH 2/3] Incorporated the suggested feedback --- content/en/docs/reference/labels-annotations-taints.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/reference/labels-annotations-taints.md b/content/en/docs/reference/labels-annotations-taints.md index 25decbed37..75d84c700f 100644 --- a/content/en/docs/reference/labels-annotations-taints.md +++ b/content/en/docs/reference/labels-annotations-taints.md @@ -36,9 +36,9 @@ Example: `kubernetes.io/metadata.name=mynamespace` Used on: Namespaces -The [`Control Plane`](https://kubernetes.io/docs/concepts/overview/components/) -sets this label on all namespaces. It is **mandatory** to `set a label` -on all the namespaces. The label value is set to the name of the namespace. +The Kubernetes {{< glossary_tooltip text="control plane" term_id="control-plane" >}} +sets this label on all namespaces. The label value is set +to the name of the namespace. You can't change this label's value. This is useful if you want to target a specific namespace with a label {{< glossary_tooltip text="selector" term_id="selector" >}}. From 2ae0496450376cf0c4a5df433e3a70ecf8086c1d Mon Sep 17 00:00:00 2001 From: Vitthal Sai Date: Thu, 25 Nov 2021 23:27:12 +0530 Subject: [PATCH 3/3] Added mention of the K8s API Server --- content/en/docs/reference/labels-annotations-taints.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/reference/labels-annotations-taints.md b/content/en/docs/reference/labels-annotations-taints.md index 75d84c700f..3e998c6afc 100644 --- a/content/en/docs/reference/labels-annotations-taints.md +++ b/content/en/docs/reference/labels-annotations-taints.md @@ -36,7 +36,7 @@ Example: `kubernetes.io/metadata.name=mynamespace` Used on: Namespaces -The Kubernetes {{< glossary_tooltip text="control plane" term_id="control-plane" >}} +The Kubernetes API server (part of the {{< glossary_tooltip text="control plane" term_id="control-plane" >}}) sets this label on all namespaces. The label value is set to the name of the namespace. You can't change this label's value.