Skip to content

Commit af418e9

Browse files
committed
[zh] sync kubeadm_init_phase_addon_all.md
1 parent 58c5199 commit af418e9

File tree

3 files changed

+41
-78
lines changed

3 files changed

+41
-78
lines changed

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init.md

Lines changed: 24 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
<!--
2-
The file is auto-generated from the Go source code of the component using a generic
3-
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4-
to generate the reference documentation, please read
5-
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6-
To update the reference content, please follow the
7-
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8-
guide. You can file document formatting bugs against the
9-
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10-
-->
11-
121
<!--
132
Run this command in order to set up the Kubernetes control plane
143
-->
@@ -17,19 +6,16 @@ Run this command in order to set up the Kubernetes control plane
176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
Run this command in order to set up the Kubernetes control plane
2513
-->
26-
2714
运行此命令来搭建 Kubernetes 控制平面节点。
2815

2916
<!--
3017
The "init" command executes the following phases:
3118
-->
32-
3319
"init" 命令执行以下阶段:
3420

3521
```
@@ -51,13 +37,13 @@ kubeconfig Generate all kubeconfig files necessary to establis
5137
/kubelet Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes
5238
/controller-manager Generate a kubeconfig file for the controller manager to use
5339
/scheduler Generate a kubeconfig file for the scheduler to use
54-
kubelet-start Write kubelet settings and (re)start the kubelet
40+
etcd Generate static Pod manifest file for local etcd
41+
/local Generate the static Pod manifest file for a local, single-node local etcd instance
5542
control-plane Generate all static Pod manifest files necessary to establish the control plane
5643
/apiserver Generates the kube-apiserver static Pod manifest
5744
/controller-manager Generates the kube-controller-manager static Pod manifest
5845
/scheduler Generates the kube-scheduler static Pod manifest
59-
etcd Generate static Pod manifest file for local etcd
60-
/local Generate the static Pod manifest file for a local, single-node local etcd instance
46+
kubelet-start Write kubelet settings and (re)start the kubelet
6147
upload-config Upload the kubeadm and kubelet configuration to a ConfigMap
6248
/kubeadm Upload the kubeadm ClusterConfiguration to a ConfigMap
6349
/kubelet Upload the kubelet component config to a ConfigMap
@@ -66,7 +52,7 @@ mark-control-plane Mark a node as a control-plane
6652
bootstrap-token Generates bootstrap tokens used to join a node to a cluster
6753
kubelet-finalize Updates settings relevant to the kubelet after TLS bootstrap
6854
/experimental-cert-rotation Enable kubelet client certificate rotation
69-
addon Install required addons for passing Conformance tests
55+
addon Install required addons for passing conformance tests
7056
/coredns Install the CoreDNS addon to a Kubernetes cluster
7157
/kube-proxy Install the kube-proxy addon to a Kubernetes cluster
7258
show-join-command Show the join command for control-plane and worker node
@@ -79,7 +65,6 @@ kubeadm init [flags]
7965
<!--
8066
### Options
8167
-->
82-
8368
### 选项
8469

8570
<table style="width: 100%; table-layout: fixed;">
@@ -206,7 +191,8 @@ Specify a stable IP address or DNS name for the control plane.
206191
Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket.
207192
-->
208193
<p>
209-
要连接的 CRI 套接字的路径。如果为空,则 kubeadm 将尝试自动检测此值;仅当安装了多个 CRI 或具有非标准 CRI 插槽时,才使用此选项。
194+
要连接的 CRI 套接字的路径。如果为空,则 kubeadm 将尝试自动检测此值;
195+
仅当安装了多个 CRI 或具有非标准 CRI 套接字时,才使用此选项。
210196
</p>
211197
</td>
212198
</tr>
@@ -231,12 +217,17 @@ Don't apply any changes; just output what would be done.
231217
<tr>
232218
<td></td><td style="line-height: 130%; word-wrap: break-word;">
233219
<!--
234-
A set of key=value pairs that describe feature gates for various features. Options are:<br/>EtcdLearnerMode=true|false (ALPHA - default=false)<br/>PublicKeysECDSA=true|false (ALPHA - default=false)<br/>RootlessControlPlane=true|false (ALPHA - default=false)
220+
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
221+
EtcdLearnerMode=true|false (ALPHA - default=false)<br/>
222+
PublicKeysECDSA=true|false (ALPHA - default=false)<br/>
223+
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
224+
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)
235225
-->
236-
一组用来描述各种功能特性的键值(key=value)对。选项是:
237-
<br/>EtcdLearnerMode=true|false (ALPHA - 默认值=false)
238-
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
239-
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
226+
一组用来描述各种功能特性的键值(key=value)对。选项是:<br/>
227+
EtcdLearnerMode=true|false (ALPHA - 默认值=false)<br/>
228+
PublicKeysECDSA=true|false (ALPHA - 默认值=false)<br/>
229+
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
230+
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)
240231
</td>
241232
</tr>
242233

@@ -249,7 +240,7 @@ A set of key=value pairs that describe feature gates for various features. Optio
249240
help for init
250241
-->
251242
<p>
252-
init 操作的帮助命令
243+
init 操作的帮助命令
253244
</p>
254245
</td>
255246
</tr>
@@ -282,7 +273,7 @@ A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedU
282273
Choose a container registry to pull control plane images from
283274
-->
284275
<p>
285-
选择用于拉取控制平面镜像的容器仓库
276+
选择用于拉取控制平面镜像的容器仓库
286277
</p>
287278
</td>
288279
</tr>
@@ -350,7 +341,7 @@ Path to a directory that contains files named &quot;target[suffix][+patchtype].e
350341
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
351342
-->
352343
<p>
353-
指明 pod 网络可以使用的 IP 地址段。如果设置了这个参数,控制平面将会为每一个节点自动分配 CIDRs
344+
指明 Pod 网络可以使用的 IP 地址段。如果设置了这个参数,控制平面将会为每一个节点自动分配 CIDR
354345
</p>
355346
</td>
356347
</tr>
@@ -369,7 +360,7 @@ Specify range of IP addresses for the pod network. If set, the control plane wil
369360
Use alternative range of IP address for service VIPs.
370361
-->
371362
<p>
372-
为服务的虚拟 IP 地址另外指定 IP 地址段
363+
为服务的虚拟 IP 地址另外指定 IP 地址段
373364
</p>
374365
</td>
375366
</tr>
@@ -414,7 +405,7 @@ Don't print the key used to encrypt the control-plane certificates.
414405
List of phases to be skipped
415406
-->
416407
<p>
417-
要跳过的阶段列表
408+
要跳过的阶段列表
418409
</p>
419410
</td>
420411
</tr>
@@ -442,7 +433,8 @@ Skip printing of the default bootstrap token generated by 'kubeadm init'.
442433
The token to use for establishing bidirectional trust between nodes and control-plane nodes. The format is [a-z0-9]{6}.[a-z0-9]{16} - e.g. abcdef.0123456789abcdef
443434
-->
444435
<p>
445-
这个令牌用于建立控制平面节点与工作节点间的双向通信。格式为 [a-z0-9]{6}.[a-z0-9]{16} - 示例:abcdef.0123456789abcdef
436+
这个令牌用于建立控制平面节点与工作节点间的双向通信。
437+
格式为 [a-z0-9]{6}.[a-z0-9]{16} - 示例:abcdef.0123456789abcdef
446438
</p>
447439
</td>
448440
</tr>
@@ -461,7 +453,7 @@ The token to use for establishing bidirectional trust between nodes and control-
461453
The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire
462454
-->
463455
<p>
464-
令牌被自动删除之前的持续时间(例如 1 s,2 m,3 h)。如果设置为 '0',则令牌将永不过期
456+
令牌被自动删除之前的持续时间(例如 1s,2m,3h)。如果设置为 '0',则令牌将永不过期
465457
</p>
466458
</td>
467459
</tr>
@@ -486,7 +478,6 @@ Upload control-plane certificates to the kubeadm-certs Secret.
486478
<!--
487479
### Options inherited from parent commands
488480
-->
489-
490481
### 从父命令继承的选项
491482

492483
<table style="width: 100%; table-layout: fixed;">
@@ -512,4 +503,3 @@ Upload control-plane certificates to the kubeadm-certs Secret.
512503

513504
</tbody>
514505
</table>
515-

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_addon_all.md

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,17 @@
1-
<!--
2-
The file is auto-generated from the Go source code of the component using a generic
3-
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4-
to generate the reference documentation, please read
5-
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6-
To update the reference content, please follow the
7-
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8-
guide. You can file document formatting bugs against the
9-
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10-
-->
11-
121
<!--
132
Install all the addons
143
-->
15-
安装所有插件
4+
安装所有插件
165

176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
Install all the addons
2513
-->
26-
27-
安装所有插件(addon)
14+
安装所有插件(addon)。
2815

2916
```
3017
kubeadm init phase addon all [flags]
@@ -33,7 +20,6 @@ kubeadm init phase addon all [flags]
3320
<!--
3421
### Options
3522
-->
36-
3723
### 选项
3824

3925
<table style="width: 100%; table-layout: fixed;">
@@ -124,12 +110,17 @@ Don't apply any changes; just output what would be done.
124110
<tr>
125111
<td></td><td style="line-height: 130%; word-wrap: break-word;">
126112
<!--
127-
A set of key=value pairs that describe feature gates for various features. Options are:<br/>EtcdLearnerMode=true|false (ALPHA - default=false)<br/>PublicKeysECDSA=true|false (ALPHA - default=false)<br/>RootlessControlPlane=true|false (ALPHA - default=false)
113+
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
114+
EtcdLearnerMode=true|false (ALPHA - default=false)<br/>
115+
PublicKeysECDSA=true|false (ALPHA - default=false)<br/>
116+
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
117+
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)
128118
-->
129-
一组键值对(key=value),描述了各种特征。选项包括:
130-
<br/>EtcdLearnerMode=true|false (ALPHA - 默认值=false)
131-
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
132-
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
119+
一组键值对(key=value),描述了各种特征。选项包括:<br/>
120+
EtcdLearnerMode=true|false (ALPHA - 默认值=false)<br/>
121+
PublicKeysECDSA=true|false (ALPHA - 默认值=false)<br/>
122+
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
123+
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)
133124
</td>
134125
</tr>
135126

@@ -142,7 +133,7 @@ A set of key=value pairs that describe feature gates for various features. Optio
142133
help for all
143134
-->
144135
<p>
145-
all 操作的帮助命令
136+
all 操作的帮助命令
146137
</p>
147138
</td>
148139
</tr>
@@ -161,7 +152,7 @@ all 操作的帮助命令
161152
Choose a container registry to pull control plane images from
162153
-->
163154
<p>
164-
选择用于拉取控制平面镜像的容器仓库
155+
选择用于拉取控制平面镜像的容器仓库
165156
</p>
166157
</td>
167158
</tr>
@@ -260,7 +251,6 @@ Use alternative domain for services, e.g. &quot;myorg.internal&quot;.
260251
<!--
261252
### Options inherited from parent commands
262253
-->
263-
264254
### 继承于父命令的选项
265255

266256
<table style="width: 100%; table-layout: fixed;">
@@ -286,4 +276,3 @@ Use alternative domain for services, e.g. &quot;myorg.internal&quot;.
286276

287277
</tbody>
288278
</table>
289-

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_addon_kube-proxy.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
<!--
2-
The file is auto-generated from the Go source code of the component using a generic
3-
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4-
to generate the reference documentation, please read
5-
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6-
To update the reference content, please follow the
7-
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8-
guide. You can file document formatting bugs against the
9-
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10-
-->
11-
121
<!--
132
Install the kube-proxy addon to a Kubernetes cluster
143
-->
@@ -17,13 +6,11 @@ Install the kube-proxy addon to a Kubernetes cluster
176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
Install the kube-proxy addon components via the API server.
2513
-->
26-
2714
通过 API 服务器安装 kube-proxy 附加组件。
2815

2916
```
@@ -33,7 +20,6 @@ kubeadm init phase addon kube-proxy [flags]
3320
<!--
3421
### Options
3522
-->
36-
3723
### 选项
3824

3925
<table style="width: 100%; table-layout: fixed;">
@@ -116,7 +102,7 @@ kubeadm init phase addon kube-proxy [flags]
116102
<!--
117103
<p>help for kube-proxy</p>
118104
-->
119-
<p>kube-proxy 操作的帮助命令</p>
105+
<p>kube-proxy 操作的帮助命令</p>
120106
</td>
121107
</tr>
122108

@@ -133,7 +119,7 @@ kubeadm init phase addon kube-proxy [flags]
133119
<!--
134120
<p>Choose a container registry to pull control plane images from</p>
135121
-->
136-
<p>选择用于拉取控制平面镜像的容器仓库</p>
122+
<p>选择用于拉取控制平面镜像的容器仓库</p>
137123
</td>
138124
</tr>
139125

@@ -190,7 +176,7 @@ kubeadm init phase addon kube-proxy [flags]
190176
<td></td><td style="line-height: 130%; word-wrap: break-word;"><p>
191177
<!--Print the addon manifests to STDOUT instead of installing them
192178
-->
193-
向 STDOUT 打印插件清单,而非安装这些插件
179+
向 STDOUT 打印插件清单,而非安装这些插件
194180
</p></td>
195181
</tr>
196182

@@ -200,7 +186,6 @@ kubeadm init phase addon kube-proxy [flags]
200186
<!--
201187
### Options inherited from parent commands
202188
-->
203-
204189
### 继承于父命令的选项
205190

206191
<table style="width: 100%; table-layout: fixed;">
@@ -224,4 +209,3 @@ kubeadm init phase addon kube-proxy [flags]
224209

225210
</tbody>
226211
</table>
227-

0 commit comments

Comments
 (0)