Skip to content

Commit

Permalink
Merge pull request #41833 from KKtheGhost/sync/overview-wwo-namespaces
Browse files Browse the repository at this point in the history
[zh] sync concepts/overview/working-with-objects/namespaces.md
  • Loading branch information
k8s-ci-robot authored Jul 3, 2023
2 parents aa2afe0 + 381f2cc commit 51b0ab6
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,11 @@ kubectl api-resources --namespaced=false

<!--
The Kubernetes control plane sets an immutable {{< glossary_tooltip text="label" term_id="label" >}}
`kubernetes.io/metadata.name` on all namespaces, provided that the `NamespaceDefaultLabelName`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled.
`kubernetes.io/metadata.name` on all namespaces.
The value of the label is the namespace name.
-->
Kubernetes 控制面会为所有名字空间设置一个不可变更的{{< glossary_tooltip text="标签" term_id="label" >}}
`kubernetes.io/metadata.name`,只要 `NamespaceDefaultLabelName`
这一[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)被启用。
`kubernetes.io/metadata.name`
标签的值是名字空间的名称。

## {{% heading "whatsnext" %}}
Expand Down

0 comments on commit 51b0ab6

Please sign in to comment.