Merge pull request #32385 from my-git9/namespace

[zh] Update namespace
This commit is contained in:
Kubernetes Prow Robot
2022-03-21 19:09:44 -07:00
committed by GitHub
@@ -27,16 +27,19 @@ tags:
-->
<!--
An abstraction used by Kubernetes to support multiple virtual clusters on the same physical {{< glossary_tooltip text="cluster" term_id="cluster" >}}.
An abstraction used by Kubernetes to support isolation of groups of resources within a single {{< glossary_tooltip text="cluster" term_id="cluster" >}}.
-->
名字空间是 Kubernetes 为了在同一物理集群上支持多个虚拟集群而使用的一种抽象。
名字空间是 Kubernetes 用来支持隔离单个 {{< glossary_tooltip text="集群" term_id="cluster" >}}中的资源组的一种抽象。
<!--more-->
<!--
Namespaces are used to organize objects in a cluster and provide a way to divide cluster resources. Names of resources need to be unique within a namespace, but not across namespaces.
Namespaces are used to organize objects in a cluster and provide a way to divide cluster resources. Names of resources need to be unique within a namespace, but not across namespaces. Namespace-based scoping is applicable only for namespaced objects _(e.g. Deployments, Services, etc)_ and not for cluster-wide objects _(e.g. StorageClass, Nodes, PersistentVolumes, etc)_.
-->
名字空间用来组织集群中对象,并为集群资源划分提供了一种方法。同一名字空间内的资源名称必须唯一,但跨名字空间时不作要求。
名字空间用来组织集群中对象,并为集群资源划分提供了一种方法。
同一名字空间内的资源名称必须唯一,但跨名字空间时不作要求。
基于名字空间的作用域限定仅适用于名字空间作用域的对象(例如 Deployment、Services 等),
而不适用于集群作用域的对象(例如 StorageClass、Node、PersistentVolume 等)。
在一些文档里名字空间也称为命名空间。