modify spaces between Chinese
This commit is contained in:
@@ -31,7 +31,7 @@ kubectl get pods --field-selector status.phase=Running
|
|||||||
Field selectors are essentially resource *filters*. By default, no selectors/filters are applied, meaning that all resources of the specified type are selected. This makes the following `kubectl` queries equivalent:
|
Field selectors are essentially resource *filters*. By default, no selectors/filters are applied, meaning that all resources of the specified type are selected. This makes the following `kubectl` queries equivalent:
|
||||||
-->
|
-->
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
字段选择器本质上是资源 *过滤器(Filters)*。默认情况下,字段选择器/过滤器是未被应用的,
|
字段选择器本质上是资源“过滤器(Filters)”。默认情况下,字段选择器/过滤器是未被应用的,
|
||||||
这意味着指定类型的所有资源都会被筛选出来。
|
这意味着指定类型的所有资源都会被筛选出来。
|
||||||
这使得以下的两个 `kubectl` 查询是等价的:
|
这使得以下的两个 `kubectl` 查询是等价的:
|
||||||
|
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ longer than expected without being fully deleted. In these situations, you
|
|||||||
should check finalizers and owner references on the target owner and dependent
|
should check finalizers and owner references on the target owner and dependent
|
||||||
objects to troubleshoot the cause.
|
objects to troubleshoot the cause.
|
||||||
-->
|
-->
|
||||||
Job 控制器还为这些 Pod 添加了 *属主引用*,指向创建 Pod 的 Job。
|
Job 控制器还为这些 Pod 添加了“属主引用”,指向创建 Pod 的 Job。
|
||||||
如果你在这些 Pod 运行的时候删除了 Job,
|
如果你在这些 Pod 运行的时候删除了 Job,
|
||||||
Kubernetes 会使用属主引用(而不是标签)来确定集群中哪些 Pod 需要清理。
|
Kubernetes 会使用属主引用(而不是标签)来确定集群中哪些 Pod 需要清理。
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ weight: 30
|
|||||||
<!--
|
<!--
|
||||||
In Kubernetes, _namespaces_ provides a mechanism for isolating groups of resources within a single cluster. 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)_.
|
In Kubernetes, _namespaces_ provides a mechanism for isolating groups of resources within a single cluster. 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)_.
|
||||||
-->
|
-->
|
||||||
在 Kubernetes 中,_名字空间(Namespace)_ 提供一种机制,将同一集群中的资源划分为相互隔离的组。
|
在 Kubernetes 中,“名字空间(Namespace)”提供一种机制,将同一集群中的资源划分为相互隔离的组。
|
||||||
同一名字空间内的资源名称要唯一,但跨名字空间时没有这个要求。
|
同一名字空间内的资源名称要唯一,但跨名字空间时没有这个要求。
|
||||||
名字空间作用域仅针对带有名字空间的对象,例如 Deployment、Service 等,
|
名字空间作用域仅针对带有名字空间的对象,例如 Deployment、Service 等,
|
||||||
这种作用域对集群访问的对象不适用,例如 StorageClass、Node、PersistentVolume 等。
|
这种作用域对集群访问的对象不适用,例如 StorageClass、Node、PersistentVolume 等。
|
||||||
|
|||||||
@@ -18,9 +18,9 @@ In Kubernetes, some objects are *owners* of other objects. For example, a
|
|||||||
of their owner.
|
of their owner.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
在 Kubernetes 中,一些对象是其他对象的 *属主(Owner)*。
|
在 Kubernetes 中,一些对象是其他对象的“属主(Owner)”。
|
||||||
例如,{{<glossary_tooltip text="ReplicaSet" term_id="replica-set">}} 是一组 Pod 的属主。
|
例如,{{<glossary_tooltip text="ReplicaSet" term_id="replica-set">}} 是一组 Pod 的属主。
|
||||||
具有属主的对象是属主的 *附属(Dependent)*。
|
具有属主的对象是属主的“附属(Dependent)”。
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Ownership is different from the [labels and selectors](/docs/concepts/overview/working-with-objects/labels/)
|
Ownership is different from the [labels and selectors](/docs/concepts/overview/working-with-objects/labels/)
|
||||||
|
|||||||
Reference in New Issue
Block a user