Skip to content

Commit ef3de08

Browse files
authored
Merge pull request #35674 from yanrongshi/zh-cn]Sync-namespaces.md
[zh-cn]Update namespaces.md
2 parents 231efd7 + aac2c7b commit ef3de08

File tree

1 file changed

+7
-7
lines changed
  • content/zh-cn/docs/concepts/overview/working-with-objects

1 file changed

+7
-7
lines changed

content/zh-cn/docs/concepts/overview/working-with-objects/namespaces.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ teams, or projects. For clusters with a few to tens of users, you should not
3636
need to create or think about namespaces at all. Start using namespaces when you
3737
need the features they provide.
3838
-->
39-
名字空间适用于存在很多跨多个团队或项目的用户的场景。对于只有几到几十个用户的集群,根本不需要创建或考虑名字空间。当需要名称空间提供的功能时,请开始使用它们。
39+
名字空间适用于存在很多跨多个团队或项目的用户的场景。对于只有几到几十个用户的集群,根本不需要创建或考虑名字空间。当需要名字空间提供的功能时,请开始使用它们。
4040

4141
<!--
4242
Namespaces provide a scope for names. Names of resources need to be unique within a namespace,
43-
but not across namespaces. Namespaces can not be nested inside one another and each Kubernetes
43+
but not across namespaces. Namespaces cannot be nested inside one another and each Kubernetes
4444
resource can only be in one namespace.
4545
-->
4646
名字空间为名称提供了一个范围。资源的名称需要在名字空间内是唯一的,但不能跨名字空间。
@@ -91,11 +91,11 @@ You can list the current namespaces in a cluster using:
9191
kubectl get namespace
9292
```
9393
```
94-
NAME STATUS AGE
95-
default Active 1d
94+
NAME STATUS AGE
95+
default Active 1d
9696
kube-node-lease Active 1d
97-
kube-system Active 1d
98-
kube-public Active 1d
97+
kube-public Active 1d
98+
kube-system Active 1d
9999
```
100100

101101
<!--
@@ -173,7 +173,7 @@ multiple namespaces such as Development, Staging and Production. If you want to
173173
across namespaces, you need to use the fully qualified domain name (FQDN).
174174
-->
175175
该条目的形式是 `<服务名称>.<名字空间名称>.svc.cluster.local`,这意味着如果容器只使用
176-
`<服务名称>`,它将被解析到本地名字空间的服务。这对于跨多个名字空间(如开发、分级和生产
176+
`<服务名称>`,它将被解析到本地名字空间的服务。这对于跨多个名字空间(如开发、测试和生产
177177
使用相同的配置非常有用。如果你希望跨名字空间访问,则需要使用完全限定域名(FQDN)。
178178

179179
<!--

0 commit comments

Comments
 (0)