Skip to content

Commit 1f34679

Browse files
committed
Correcting the docs for label kubernetes.io/metadata.name
1 parent 26d2200 commit 1f34679

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@ Example: `kubernetes.io/metadata.name=mynamespace`
3636

3737
Used on: Namespaces
3838

39-
When the `NamespaceDefaultLabelName`
40-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled,
41-
the Kubernetes API server sets this label on all namespaces. The label value is set to
42-
the name of the namespace.
39+
The [`Control Plane`](https://kubernetes.io/docs/concepts/overview/components/)
40+
sets this label on all namespaces. It is **mandatory** to `set a label`
41+
on all the namespaces. The label value is set to the name of the namespace.
4342

4443
This is useful if you want to target a specific namespace with a label
4544
{{< glossary_tooltip text="selector" term_id="selector" >}}.

0 commit comments

Comments
 (0)