File tree Expand file tree Collapse file tree 6 files changed +224
-251
lines changed
content/zh/docs/concepts/overview Expand file tree Collapse file tree 6 files changed +224
-251
lines changed Original file line number Diff line number Diff line change 2
2
title : 概述
3
3
weight : 20
4
4
description : 获得 Kubernetes 及其构件的高层次概要。
5
+ sitemap :
6
+ priority : 0.9
5
7
---
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -121,18 +121,18 @@ _注解(Annotations)_ 存储的形式是键/值对。有效的注解键分
121
121
并允许使用破折号(` - ` ),下划线(` _ ` ),点(` . ` )和字母数字。
122
122
前缀是可选的。如果指定,则前缀必须是DNS子域:一系列由点(` . ` )分隔的DNS标签,
123
123
总计不超过253个字符,后跟斜杠(` / ` )。
124
- 如果省略前缀,则假定注释键对用户是私有的。 由系统组件添加的注释
124
+ 如果省略前缀,则假定注解键对用户是私有的。 由系统组件添加的注解
125
125
(例如,` kube-scheduler ` ,` kube-controller-manager ` ,` kube-apiserver ` ,` kubectl `
126
- 或其他第三方组件),必须为终端用户添加注释前缀 。
126
+ 或其他第三方组件),必须为终端用户添加注解前缀 。
127
127
128
128
<!--
129
129
The `kubernetes.io/` and `k8s.io/` prefixes are reserved for Kubernetes core components.
130
130
131
- For example, here’ s the configuration file for a Pod that has the annotation `imageregistry: https://hub.docker.com/` :
131
+ For example, here' s the configuration file for a Pod that has the annotation `imageregistry: https://hub.docker.com/` :
132
132
-->
133
133
` kubernetes.io/ ` 和 ` k8s.io/ ` 前缀是为Kubernetes核心组件保留的。
134
134
135
- 例如,这是Pod的配置文件,其注释为 ` imageregistry: https://hub.docker.com/ ` :
135
+ 例如,下面是一个 Pod 的配置文件,其注解中包含 ` imageregistry: https://hub.docker.com/ ` :
136
136
137
137
``` yaml
138
138
apiVersion : v1
Original file line number Diff line number Diff line change @@ -191,11 +191,11 @@ and the `spec` format for a `Deployment` can be found
191
191
## {{% heading "whatsnext" %}}
192
192
193
193
<!--
194
- * [ Kubernetes API overview ](/docs/reference/using-api/api-overview/) explains some more API concepts
195
- * Learn about the most important basic Kubernetes objects, such as [Pod ](/docs/concepts/workloads/pods/pod-overview/) .
196
- * Learn about [controllers ](/docs/concepts/architecture/controller/) in Kubernetes
194
+ * Learn about the most important basic Kubernetes objects, such as [Pod ](/docs/concepts/workloads/pods/).
195
+ * Learn about [controllers ](/docs/concepts/architecture/controller/) in Kubernetes .
196
+ * [Using the Kubernetes API ](/docs/reference/using-api/) explains some more API concepts.
197
197
-->
198
- * [ Kubernetes API 总览 ] ( /zh/docs/reference/using-api/api-overview/ ) 提供关于 API 概念的进一步阐述
199
- * 了解最重要的 Kubernetes 基本对象,例如 [ Pod ] ( /zh/docs/concepts/workloads/pods/ )
200
- * 了解 Kubernetes 中的 [ 控制器 ] ( /zh/docs/concepts/architecture/controller/ )
198
+ * 了解最重要的 Kubernetes 基本对象,例如 [ Pod ] ( /zh/docs/concepts/workloads/pods/ ) 。
199
+ * 了解 Kubernetes 中的 [ 控制器 ] ( /zh/docs/concepts/architecture/controller/ ) 。
200
+ * [ 使用 Kubernetes API ] ( /zh/docs/reference/using-api/ ) 一节解释了一些 API 概念。
201
201
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ and [`replicationcontrollers`](/docs/concepts/workloads/controllers/replicationc
307
307
also use label selectors to specify sets of other resources, such as
308
308
[pods](/docs/concepts/workloads/pods/).
309
309
-->
310
- ### 在 API 对象上设置引用
310
+ ### 在 API 对象中设置引用
311
311
312
312
一些 Kubernetes 对象,例如 [ ` services ` ] ( /zh/docs/concepts/services-networking/service/ )
313
313
和 [ ` replicationcontrollers ` ] ( /zh/docs/concepts/workloads/controllers/replicationcontroller/ ) ,
@@ -323,9 +323,11 @@ Labels selectors for both objects are defined in `json` or `yaml` files using ma
323
323
-->
324
324
#### Service 和 ReplicationController
325
325
326
- 一个 ` Service ` 指向的一组 pods 是由标签选择算符定义的。同样,一个 ` ReplicationController ` 应该管理的 pods 的数量也是由标签选择算符定义的。
326
+ 一个 ` Service ` 指向的一组 Pods 是由标签选择算符定义的。同样,一个 ` ReplicationController `
327
+ 应该管理的 pods 的数量也是由标签选择算符定义的。
327
328
328
- 两个对象的标签选择算符都是在 ` json ` 或者 ` yaml ` 文件中使用映射定义的,并且只支持 _ 基于等值_ 需求的选择算符:
329
+ 两个对象的标签选择算符都是在 ` json ` 或者 ` yaml ` 文件中使用映射定义的,并且只支持
330
+ _ 基于等值_ 需求的选择算符:
329
331
330
332
``` json
331
333
"selector" : {
You can’t perform that action at this time.
0 commit comments