Skip to content

Commit 5b49326

Browse files
committed
modify spaces between Chinese
1 parent 0c1e9d1 commit 5b49326

File tree

10 files changed

+53
-53
lines changed

10 files changed

+53
-53
lines changed

content/zh/docs/concepts/overview/components.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ for an example control plane setup that runs across multiple machines.
6262
控制平面组件可以在集群中的任何节点上运行。
6363
然而,为了简单起见,设置脚本通常会在同一个计算机上启动所有控制平面组件,
6464
并且不会在此计算机上运行用户容器。
65-
请参阅 [使用 kubeadm 构建高可用性集群](/zh/docs/setup/production-environment/tools/kubeadm/high-availability/)
65+
请参阅[使用 kubeadm 构建高可用性集群](/zh/docs/setup/production-environment/tools/kubeadm/high-availability/)
6666
中关于跨多机器控制平面设置的示例。
6767

6868
### kube-apiserver
@@ -189,7 +189,7 @@ Containers started by Kubernetes automatically include this DNS server in their
189189
### DNS {#dns}
190190

191191
尽管其他插件都并非严格意义上的必需组件,但几乎所有 Kubernetes 集群都应该
192-
[集群 DNS](/zh/docs/concepts/services-networking/dns-pod-service/)
192+
[集群 DNS](/zh/docs/concepts/services-networking/dns-pod-service/)
193193
因为很多示例都需要 DNS 服务。
194194

195195
集群 DNS 是一个 DNS 服务器,和环境中的其他 DNS 服务器一起工作,它为 Kubernetes 服务提供 DNS 记录。
@@ -237,7 +237,7 @@ saving container logs to a central log store with search/browsing interface.
237237
* Learn about [kube-scheduler](/docs/concepts/scheduling-eviction/kube-scheduler/)
238238
* Read etcd's official [documentation](https://etcd.io/docs/)
239239
-->
240-
* 进一步了解 [节点](/zh/docs/concepts/architecture/nodes/)
241-
* 进一步了解 [控制器](/zh/docs/concepts/architecture/controller/)
240+
* 进一步了解[节点](/zh/docs/concepts/architecture/nodes/)
241+
* 进一步了解[控制器](/zh/docs/concepts/architecture/controller/)
242242
* 进一步了解 [kube-scheduler](/zh/docs/concepts/scheduling-eviction/kube-scheduler/)
243-
* 阅读 etcd 官方 [文档](https://etcd.io/docs/)
243+
* 阅读 etcd 官方[文档](https://etcd.io/docs/)

content/zh/docs/concepts/overview/kubernetes-api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Consider using one of the [client libraries](/docs/reference/using-api/client-li
4444
if you are writing an application using the Kubernetes API.
4545
-->
4646
如果你正在编写程序来访问 Kubernetes API,可以考虑使用
47-
[客户端库](/zh/docs/reference/using-api/client-libraries/) 之一。
47+
[客户端库](/zh/docs/reference/using-api/client-libraries/)之一。
4848

4949
<!-- body -->
5050

@@ -157,7 +157,7 @@ for the kube-apiserver component.
157157
Kubernetes v1.23 提供将其 API 以 OpenAPI v3 形式发布的初始支持;这一功能特性处于 Alpha
158158
状态,默认被禁用。
159159
你可以通过为 kube-apiserver 组件启用 `OpenAPIV3`
160-
[特性门控](/zh/docs/reference/command-line-tools-reference/feature-gates/) 来启用此
160+
[特性门控](/zh/docs/reference/command-line-tools-reference/feature-gates/)来启用此
161161
Alpha 特性。
162162

163163
<!--
@@ -260,7 +260,7 @@ Refer to [API versions reference](/docs/reference/using-api/#api-versioning)
260260
for more details on the API version level definitions.
261261
-->
262262
关于 API 版本分级的定义细节,请参阅
263-
[API 版本参考](/zh/docs/reference/using-api/#api-versioning) 页面。
263+
[API 版本参考](/zh/docs/reference/using-api/#api-versioning)页面。
264264

265265
<!--
266266
## API Extension
@@ -277,7 +277,7 @@ The Kubernetes API can be extended in one of two ways:
277277
1. You can also extend the Kubernetes API by implementing an
278278
[aggregation layer](/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/).
279279
-->
280-
1. 你可以使用 [自定义资源](/zh/docs/concepts/extend-kubernetes/api-extension/custom-resources/)
280+
1. 你可以使用[自定义资源](/zh/docs/concepts/extend-kubernetes/api-extension/custom-resources/)
281281
来以声明式方式定义 API 服务器如何提供你所选择的资源 API。
282282
1. 你也可以选择实现自己的
283283
[聚合层](/zh/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/)
@@ -298,9 +298,9 @@ The Kubernetes API can be extended in one of two ways:
298298
- 了解如何通过添加你自己的
299299
[CustomResourceDefinition](/zh/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/)
300300
来扩展 Kubernetes API。
301-
- [控制 Kubernetes API 访问](/zh/docs/concepts/security/controlling-access/) 页面描述了集群如何针对
301+
- [控制 Kubernetes API 访问](/zh/docs/concepts/security/controlling-access/)页面描述了集群如何针对
302302
API 访问管理身份认证和鉴权。
303-
- 通过阅读 [API 参考](/zh/docs/reference/kubernetes-api/) 了解 API 端点、资源类型以及示例。
303+
- 通过阅读 [API 参考](/zh/docs/reference/kubernetes-api/)了解 API 端点、资源类型以及示例。
304304
- 阅读 [API 变更(英文)](https://git.k8s.io/community/contributors/devel/sig-architecture/api_changes.md#readme)
305305
以了解什么是兼容性的变更以及如何变更 API。
306306

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,5 +163,5 @@ spec:
163163
<!--
164164
* Learn more about [Labels and Selectors](/docs/concepts/overview/working-with-objects/labels/).
165165
-->
166-
* 进一步了解 [标签和选择算符](/zh/docs/concepts/overview/working-with-objects/labels/)。
166+
* 进一步了解[标签和选择算符](/zh/docs/concepts/overview/working-with-objects/labels/)。
167167

content/zh/docs/concepts/overview/working-with-objects/field-selectors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ kubectl get pods --field-selector status.phase=Running
3131
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:
3232
-->
3333
{{< note >}}
34-
字段选择器本质上是资源 *过滤器(Filters)*。默认情况下,字段选择器/过滤器是未被应用的,
34+
字段选择器本质上是资源过滤器(Filters)。默认情况下,字段选择器/过滤器是未被应用的,
3535
这意味着指定类型的所有资源都会被筛选出来。
3636
这使得以下的两个 `kubectl` 查询是等价的:
3737

@@ -81,7 +81,7 @@ As with [label](/docs/concepts/overview/working-with-objects/labels) and other s
8181
-->
8282
## 链式选择器 {#chained-selectors}
8383

84-
[标签](/zh/docs/concepts/overview/working-with-objects/labels/) 和其他选择器一样,
84+
[标签](/zh/docs/concepts/overview/working-with-objects/labels/)和其他选择器一样,
8585
字段选择器可以通过使用逗号分隔的列表组成一个选择链。
8686
下面这个 `kubectl` 命令将筛选 `status.phase` 字段不等于 `Running` 同时
8787
`spec.restartPolicy` 字段等于 `Always` 的所有 Pod:

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ You can use finalizers to control {{<glossary_tooltip text="garbage collection"
1313
of resources by alerting {{<glossary_tooltip text="controllers" term_id="controller">}} to perform specific cleanup tasks before
1414
deleting the target resource.
1515
-->
16-
你可以通过使用 Finalizers 提醒 {{<glossary_tooltip text="控制器" term_id="controller">}}
16+
你可以通过使用 Finalizers 提醒{{<glossary_tooltip text="控制器" term_id="controller">}}
1717
在删除目标资源前执行特定的清理任务,
18-
来控制资源的 {{<glossary_tooltip text="垃圾收集" term_id="garbage-collection">}}。
18+
来控制资源的{{<glossary_tooltip text="垃圾收集" term_id="garbage-collection">}}。
1919

2020
<!--
2121
Finalizers don't usually specify the code to execute. Instead, they are
@@ -98,10 +98,10 @@ any Pods in the cluster with the same label.
9898
-->
9999
## 属主引用、标签和 Finalizers {#owners-labels-finalizers}
100100

101-
{{<glossary_tooltip text="标签" term_id="label">}} 类似,
101+
与{{<glossary_tooltip text="标签" term_id="label">}}类似,
102102
[属主引用](/zh/concepts/overview/working-with-objects/owners-dependents/)
103103
描述了 Kubernetes 中对象之间的关系,但它们作用不同。
104-
当一个 {{<glossary_tooltip text="控制器" term_id="controller">}}
104+
当一个{{<glossary_tooltip text="控制器" term_id="controller">}}
105105
管理类似于 Pod 的对象时,它使用标签来跟踪相关对象组的变化。
106106
例如,当 {{<glossary_tooltip text="Job" term_id="job">}} 创建一个或多个 Pod 时,
107107
Job 控制器会给这些 Pod 应用上标签,并跟踪集群中的具有相同标签的 Pod 的变化。
@@ -121,7 +121,7 @@ longer than expected without being fully deleted. In these situations, you
121121
should check finalizers and owner references on the target owner and dependent
122122
objects to troubleshoot the cause.
123123
-->
124-
Job 控制器还为这些 Pod 添加了 *属主引用*,指向创建 Pod 的 Job。
124+
Job 控制器还为这些 Pod 添加了属主引用,指向创建 Pod 的 Job。
125125
如果你在这些 Pod 运行的时候删除了 Job,
126126
Kubernetes 会使用属主引用(而不是标签)来确定集群中哪些 Pod 需要清理。
127127

@@ -153,5 +153,5 @@ Finalizers 通常因为特殊原因被添加到资源上,所以强行删除它
153153
* Read [Using Finalizers to Control Deletion](/blog/2021/05/14/using-finalizers-to-control-deletion/)
154154
on the Kubernetes blog.
155155
-->
156-
* 在 Kubernetes 博客上阅读 [使用 Finalizers 控制删除](/blog/2021/05/14/using-finalizers-to-control-deletion/)
156+
* 在 Kubernetes 博客上阅读[使用 Finalizers 控制删除](/blog/2021/05/14/using-finalizers-to-control-deletion/)
157157

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Kubernetes 对象是 “目标性记录” —— 一旦创建对象,Kubernete
5555
[Kubernetes API](/zh/docs/concepts/overview/kubernetes-api)
5656
比如,当使用 `kubectl` 命令行接口时,CLI 会执行必要的 Kubernetes API 调用,
5757
也可以在程序中使用
58-
[客户端库](/zh/docs/reference/using-api/client-libraries/) 直接调用 Kubernetes API。
58+
[客户端库](/zh/docs/reference/using-api/client-libraries/)直接调用 Kubernetes API。
5959

6060
<!--
6161
### Object Spec and Status
@@ -199,7 +199,7 @@ detail the structure of that `.status` field, and its content for each different
199199
另一个对象规约的例子是 StatefulSet API 中的
200200
[`spec` 字段](/docs/reference/kubernetes-api/workload-resources/stateful-set-v1/#StatefulSetSpec)
201201
对于 StatefulSet 而言,其 `.spec` 字段设置了 StatefulSet 及其期望状态。
202-
在 StatefulSet 的 `.spec` 内,有一个为 Pod 对象提供的 [模板](/zh/docs/concepts/workloads/pods/#pod-templates)。该模板描述了 StatefulSet 控制器为了满足 StatefulSet 规约而要创建的 Pod。
202+
在 StatefulSet 的 `.spec` 内,有一个为 Pod 对象提供的[模板](/zh/docs/concepts/workloads/pods/#pod-templates)。该模板描述了 StatefulSet 控制器为了满足 StatefulSet 规约而要创建的 Pod。
203203
不同类型的对象可以由不同的 `.status` 信息。API 参考页面给出了 `.status` 字段的详细结构,
204204
以及针对不同类型 API 对象的具体内容。
205205

@@ -211,6 +211,6 @@ detail the structure of that `.status` field, and its content for each different
211211
* [Using the Kubernetes API](/docs/reference/using-api/) explains some more API concepts.
212212
-->
213213
* 了解最重要的 Kubernetes 基本对象,例如 [Pod](/zh/docs/concepts/workloads/pods/)
214-
* 了解 Kubernetes 中的 [控制器](/zh/docs/concepts/architecture/controller/)
214+
* 了解 Kubernetes 中的[控制器](/zh/docs/concepts/architecture/controller/)
215215
* [使用 Kubernetes API](/zh/docs/reference/using-api/) 一节解释了一些 API 概念。
216216

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ and CLIs. Non-identifying information should be recorded using
4040
[annotations](/docs/concepts/overview/working-with-objects/annotations/).
4141
-->
4242
标签能够支持高效的查询和监听操作,对于用户界面和命令行是很理想的。
43-
应使用 [注解](/zh/docs/concepts/overview/working-with-objects/annotations/) 记录非识别信息。
43+
应使用[注解](/zh/docs/concepts/overview/working-with-objects/annotations/)记录非识别信息。
4444

4545
<!-- body -->
4646

@@ -72,7 +72,7 @@ Example labels:
7272
<!--
7373
These are examples of [commonly used labels](/docs/concepts/overview/working-with-objects/common-labels/); you are free to develop your own conventions. Keep in mind that label Key must be unique for a given object.
7474
-->
75-
有一些 [常用标签](/zh/docs/concepts/overview/working-with-objects/common-labels/) 的例子;你可以任意制定自己的约定。
75+
有一些[常用标签](/zh/docs/concepts/overview/working-with-objects/common-labels/)的例子;你可以任意制定自己的约定。
7676
请记住,标签的 Key 对于给定对象必须是唯一的。
7777

7878
<!--
@@ -96,7 +96,7 @@ _标签_ 是键值对。有效的标签键有两个段:可选的前缀和名
9696
向最终用户对象添加标签的自动系统组件(例如 `kube-scheduler``kube-controller-manager`
9797
`kube-apiserver``kubectl` 或其他第三方自动化工具)必须指定前缀。
9898

99-
`kubernetes.io/``k8s.io/` 前缀是为 Kubernetes 核心组件 [保留的](/zh/docs/reference/labels-annotations-taints/)
99+
`kubernetes.io/``k8s.io/` 前缀是为 Kubernetes 核心组件[保留的](/zh/docs/reference/labels-annotations-taints/)
100100

101101
<!--
102102
Valid label value:
@@ -118,7 +118,7 @@ Unlike [names and UIDs](/docs/user-guide/identifiers), labels do not provide uni
118118
-->
119119
## 标签选择算符 {#label-selectors}
120120

121-
[名称和 UID](/zh/docs/concepts/overview/working-with-objects/names/) 不同,
121+
[名称和 UID](/zh/docs/concepts/overview/working-with-objects/names/) 不同,
122122
标签不支持唯一性。通常,我们希望许多对象携带相同的标签。
123123

124124
<!--
@@ -400,5 +400,5 @@ See the documentation on [node selection](/docs/concepts/configuration/assign-po
400400
#### 选择节点集
401401

402402
通过标签进行选择的一个用例是确定节点集,方便 Pod 调度。
403-
有关更多信息,请参阅 [选择节点](/zh/docs/concepts/scheduling-eviction/assign-pod-node/) 文档。
403+
有关更多信息,请参阅[选择节点](/zh/docs/concepts/scheduling-eviction/assign-pod-node/)文档。
404404

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ Every Kubernetes object also has a [_UID_](#uids) that is unique across your who
1313
For example, you can only have one Pod named `myapp-1234` within the same [namespace](/docs/concepts/overview/working-with-objects/namespaces/), but you can have one Pod and one Deployment that are each named `myapp-1234`.
1414
-->
1515

16-
集群中的每一个对象都有一个 [_名称_](#names) 来标识在同类资源中的唯一性。
16+
集群中的每一个对象都有一个[_名称_](#names)来标识在同类资源中的唯一性。
1717

1818
每个 Kubernetes 对象也有一个 [_UID_](#uids) 来标识在整个集群中的唯一性。
1919

20-
比如,在同一个 [名字空间](/zh/docs/concepts/overview/working-with-objects/namespaces/)
20+
比如,在同一个[名字空间](/zh/docs/concepts/overview/working-with-objects/namespaces/)
2121
中有一个名为 `myapp-1234` 的 Pod,但是可以命名一个 Pod 和一个 Deployment 同为 `myapp-1234`
2222

2323
<!--
2424
For non-unique user-provided attributes, Kubernetes provides [labels](/docs/user-guide/labels) and [annotations](/docs/concepts/overview/working-with-objects/annotations/).
2525
-->
2626
对于用户提供的非唯一性的属性,Kubernetes 提供了
27-
[标签(Labels)](/zh/docs/concepts/working-with-objects/labels)
28-
[注解(Annotation)](/zh/docs/concepts/overview/working-with-objects/annotations/) 机制。
27+
[标签(Labels)](/zh/docs/concepts/working-with-objects/labels)
28+
[注解(Annotation)](/zh/docs/concepts/overview/working-with-objects/annotations/)机制。
2929

3030
<!-- body -->
3131

@@ -69,7 +69,7 @@ This means the name must:
6969
DNS 子域名的定义可参见 [RFC 1123](https://tools.ietf.org/html/rfc1123)
7070
这一要求意味着名称必须满足如下规则:
7171

72-
- 不能超过253个字符
72+
- 不能超过 253 个字符
7373
- 只能包含小写字母、数字,以及 '-' 和 '.'
7474
- 必须以字母数字开头
7575
- 必须以字母数字结尾
@@ -174,6 +174,6 @@ UUIDs 是标准化的,见 ISO/IEC 9834-8 和 ITU-T X.667。
174174
* See the [Identifiers and Names in Kubernetes](https://git.k8s.io/community/contributors/design-proposals/architecture/identifiers.md) design document.
175175
-->
176176
* 进一步了解 Kubernetes [标签](/zh/docs/concepts/overview/working-with-objects/labels/)
177-
* 参阅 [Kubernetes 标识符和名称](https://git.k8s.io/community/contributors/design-proposals/architecture/identifiers.md) 的设计文档
177+
* 参阅 [Kubernetes 标识符和名称](https://git.k8s.io/community/contributors/design-proposals/architecture/identifiers.md)的设计文档
178178
179179

0 commit comments

Comments
 (0)