Skip to content

Commit 22d07cc

Browse files
author
yuli
committed
[zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init.md
[zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init.md [zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init.md [zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init.md [zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init.md
1 parent 8c980f0 commit 22d07cc

File tree

1 file changed

+94
-25
lines changed

1 file changed

+94
-25
lines changed

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

Lines changed: 94 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
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 conent, 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+
12+
<!--
13+
Run this command in order to set up the Kubernetes control plane
14+
-->
15+
运行此命令以安装 Kubernetes 控制平面。
116

217
<!--
318
### Synopsis
@@ -81,7 +96,9 @@ kubeadm init [flags]
8196
<!--
8297
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
8398
-->
99+
<p>
84100
API 服务器所公布的其正在监听的 IP 地址。如果未设置,则使用默认网络接口。
101+
</p>
85102
</td>
86103
</tr>
87104

@@ -98,19 +115,23 @@ API 服务器所公布的其正在监听的 IP 地址。如果未设置,则使
98115
<!--
99116
Port for the API Server to bind to.
100117
-->
118+
<p>
101119
API 服务器绑定的端口。
120+
</p>
102121
</td>
103122
</tr>
104123

105124
<tr>
106-
<td colspan="2">--apiserver-cert-extra-sans stringSlice</td>
125+
<td colspan="2">--apiserver-cert-extra-sans strings</td>
107126
</tr>
108127
<tr>
109128
<td></td><td style="line-height: 130%; word-wrap: break-word;">
110129
<!--
111130
Optional extra Subject Alternative Names (SANs) to use for the API Server serving certificate. Can be both IP addresses and DNS names.
112131
-->
132+
<p>
113133
用于 API Server 服务证书的可选附加主题备用名称(SAN)。可以是 IP 地址和 DNS 名称。
134+
</p>
114135
</td>
115136
</tr>
116137

@@ -127,7 +148,9 @@ Optional extra Subject Alternative Names (SANs) to use for the API Server servin
127148
<!--
128149
The path where to save and store the certificates.
129150
-->
151+
<p>
130152
保存和存储证书的路径。
153+
</p>
131154
</td>
132155
</tr>
133156

@@ -139,7 +162,9 @@ The path where to save and store the certificates.
139162
<!--
140163
Key used to encrypt the control-plane certificates in the kubeadm-certs Secret.
141164
-->
165+
<p>
142166
用于加密 kubeadm-certs Secret 中的控制平面证书的密钥。
167+
</p>
143168
</td>
144169
</tr>
145170

@@ -151,7 +176,9 @@ Key used to encrypt the control-plane certificates in the kubeadm-certs Secret.
151176
<!--
152177
Path to a kubeadm configuration file.
153178
-->
179+
<p>
154180
kubeadm 配置文件的路径。
181+
</p>
155182
</td>
156183
</tr>
157184

@@ -163,7 +190,9 @@ kubeadm 配置文件的路径。
163190
<!--
164191
Specify a stable IP address or DNS name for the control plane.
165192
-->
193+
<p>
166194
为控制平面指定一个稳定的 IP 地址或 DNS 名称。
195+
</p>
167196
</td>
168197
</tr>
169198

@@ -175,7 +204,9 @@ Specify a stable IP address or DNS name for the control plane.
175204
<!--
176205
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.
177206
-->
207+
<p>
178208
要连接的 CRI 套接字的路径。如果为空,则 kubeadm 将尝试自动检测此值;仅当安装了多个 CRI 或具有非标准 CRI 插槽时,才使用此选项。
209+
</p>
179210
</td>
180211
</tr>
181212

@@ -187,23 +218,9 @@ Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this
187218
<!--
188219
Don't apply any changes; just output what would be done.
189220
-->
221+
<p>
190222
不要应用任何更改;只是输出将要执行的操作。
191-
</td>
192-
</tr>
193-
194-
<tr>
195-
<td colspan="2">--experimental-patches string</td>
196-
</tr>
197-
<tr>
198-
<td></td><td style="line-height: 130%; word-wrap: break-word;">
199-
<!--
200-
Path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "patchtype" can be one of "strategic", "merge" or "json" and they match the patch formats supported by kubectl. The default "patchtype" is "strategic". "extension" must be either "json" or "yaml". "suffix" is an optional string that can be used to determine which patches are applied first alpha-numerically.
201-
-->
202-
包含名为 "target[suffix][+patchtype].extension" 的文件的目录路径。
203-
例如,"kube-apiserver0+merge.yaml" 或仅仅是 "etcd.json"。
204-
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,并且它们与 kubectl 支持的补丁格式匹配。
205-
默认的 "patchtype" 为 "strategic"。 "extension" 必须为 "json" 或 "yaml"。
206-
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
223+
</p>
207224
</td>
208225
</tr>
209226

@@ -213,9 +230,12 @@ Path to a directory that contains files named "target[suffix][+patchtype].extens
213230
<tr>
214231
<td></td><td style="line-height: 130%; word-wrap: break-word;">
215232
<!--
216-
A set of key=value pairs that describe feature gates for various features. Options are:<br/>IPv6DualStack=true|false (ALPHA - default=false)
233+
A set of key=value pairs that describe feature gates for various features. Options are:<br/>PublicKeysECDSA=true|false (ALPHA - default=false)<br/>RootlessControlPlane=true|false (ALPHA - default=false)<br/>UnversionedKubeletConfigMap=true|false (BETA - default=true)
217234
-->
218-
一组用来描述各种功能特性的键值(key=value)对。选项是:<br/>IPv6DualStack=true|false (ALPHA - default=false)
235+
一组用来描述各种功能特性的键值(key=value)对。选项是:
236+
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
237+
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
238+
<br/>UnversionedKubeletConfigMap=true|false (BETA - 默认值=true)
219239
</td>
220240
</tr>
221241

@@ -227,19 +247,23 @@ A set of key=value pairs that describe feature gates for various features. Optio
227247
<!--
228248
help for init
229249
-->
250+
<p>
230251
init 操作的帮助命令
252+
</p>
231253
</td>
232254
</tr>
233255

234256
<tr>
235-
<td colspan="2">--ignore-preflight-errors stringSlice</td>
257+
<td colspan="2">--ignore-preflight-errors strings</td>
236258
</tr>
237259
<tr>
238260
<td></td><td style="line-height: 130%; word-wrap: break-word;">
239261
<!--
240262
A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.
241263
-->
264+
<p>
242265
错误将显示为警告的检查列表;例如:'IsPrivilegedUser,Swap'。取值为 'all' 时将忽略检查中的所有错误。
266+
</p>
243267
</td>
244268
</tr>
245269

@@ -256,7 +280,9 @@ A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedU
256280
<!--
257281
Choose a container registry to pull control plane images from
258282
-->
283+
<p>
259284
选择用于拉取控制平面镜像的容器仓库
285+
</p>
260286
</td>
261287
</tr>
262288

@@ -273,7 +299,9 @@ Choose a container registry to pull control plane images from
273299
<!--
274300
Choose a specific Kubernetes version for the control plane.
275301
-->
302+
<p>
276303
为控制平面选择一个特定的 Kubernetes 版本。
304+
</p>
277305
</td>
278306
</tr>
279307

@@ -285,7 +313,30 @@ Choose a specific Kubernetes version for the control plane.
285313
<!--
286314
Specify the node name.
287315
-->
316+
<p>
288317
指定节点的名称。
318+
</p>
319+
</td>
320+
</tr>
321+
322+
<tr>
323+
<td colspan="2">--patches string</td>
324+
</tr>
325+
<tr>
326+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
327+
<!--
328+
Path to a directory that contains files named &quot;target[suffix][+patchtype].extension&quot;. For example, &quot;kube-apiserver0+merge.yaml&quot; or just &quot;etcd.json&quot;. &quot;target&quot; can be one of &quot;kube-apiserver&quot;, &quot;kube-controller-manager&quot;, &quot;kube-scheduler&quot;, &quot;etcd&quot;. &quot;patchtype&quot; can be one of &quot;strategic&quot;, &quot;merge&quot; or &quot;json&quot; and they match the patch formats supported by kubectl. The default &quot;patchtype&quot; is &quot;strategic&quot;. &quot;extension&quot; must be either &quot;json&quot; or &quot;yaml&quot;. &quot;suffix&quot; is an optional string that can be used to determine which patches are applied first alpha-numerically.
329+
-->
330+
<p>
331+
它包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
332+
例如,&quot;kube-apiserver0+merge.yaml&quot;或仅仅是 &quot;etcd.json&quot;
333+
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot; 之一。
334+
&quot;patchtype&quot; 可以是 &quot;strategic&quot;&quot;merge&quot; 或者 &quot;json&quot; 之一,
335+
并且它们与 kubectl 支持的补丁格式相同。
336+
默认的 &quot;patchtype&quot;&quot;strategic&quot;
337+
&quot;extension&quot; 必须是&quot;json&quot;&quot;yaml&quot;
338+
&quot;suffix&quot; 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
339+
</p>
289340
</td>
290341
</tr>
291342

@@ -297,7 +348,9 @@ Specify the node name.
297348
<!--
298349
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
299350
-->
351+
<p>
300352
指明 pod 网络可以使用的 IP 地址段。如果设置了这个参数,控制平面将会为每一个节点自动分配 CIDRs。
353+
</p>
301354
</td>
302355
</tr>
303356

@@ -314,7 +367,9 @@ Specify range of IP addresses for the pod network. If set, the control plane wil
314367
<!--
315368
Use alternative range of IP address for service VIPs.
316369
-->
370+
<p>
317371
为服务的虚拟 IP 地址另外指定 IP 地址段
372+
</p>
318373
</td>
319374
</tr>
320375

@@ -329,9 +384,9 @@ Use alternative range of IP address for service VIPs.
329384
<tr>
330385
<td></td><td style="line-height: 130%; word-wrap: break-word;">
331386
<!--
332-
Use alternative domain for services, e.g. "myorg.internal".
387+
Use alternative domain for services, e.g. &quot;myorg.internal&quot;.
333388
-->
334-
为服务另外指定域名,例如:"myorg.internal"
389+
为服务另外指定域名,例如:&quot;myorg.internal&quot;
335390
</td>
336391
</tr>
337392

@@ -343,19 +398,23 @@ Use alternative domain for services, e.g. "myorg.internal".
343398
<!--
344399
Don't print the key used to encrypt the control-plane certificates.
345400
-->
401+
<p>
346402
不要打印用于加密控制平面证书的密钥。
403+
</p>
347404
</td>
348405
</tr>
349406

350407
<tr>
351-
<td colspan="2">--skip-phases stringSlice</td>
408+
<td colspan="2">--skip-phases strings</td>
352409
</tr>
353410
<tr>
354411
<td></td><td style="line-height: 130%; word-wrap: break-word;">
355412
<!--
356413
List of phases to be skipped
357414
-->
415+
<p>
358416
要跳过的阶段列表
417+
</p>
359418
</td>
360419
</tr>
361420

@@ -367,7 +426,9 @@ List of phases to be skipped
367426
<!--
368427
Skip printing of the default bootstrap token generated by 'kubeadm init'.
369428
-->
429+
<p>
370430
跳过打印 'kubeadm init' 生成的默认引导令牌。
431+
</p>
371432
</td>
372433
</tr>
373434

@@ -377,9 +438,11 @@ Skip printing of the default bootstrap token generated by 'kubeadm init'.
377438
<tr>
378439
<td></td><td style="line-height: 130%; word-wrap: break-word;">
379440
<!--
380-
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
441+
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
381442
-->
382-
这个令牌用于建立控制平面节点与工作节点间的双向通信。格式为 [a-z0-9]{6}\.[a-z0-9]{16} - 示例:abcdef.0123456789abcdef
443+
<p>
444+
这个令牌用于建立控制平面节点与工作节点间的双向通信。格式为 [a-z0-9]{6}.[a-z0-9]{16} - 示例:abcdef.0123456789abcdef
445+
</p>
383446
</td>
384447
</tr>
385448

@@ -396,7 +459,9 @@ The token to use for establishing bidirectional trust between nodes and control-
396459
<!--
397460
The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire
398461
-->
462+
<p>
399463
令牌被自动删除之前的持续时间(例如 1 s,2 m,3 h)。如果设置为 '0',则令牌将永不过期
464+
</p>
400465
</td>
401466
</tr>
402467

@@ -408,7 +473,9 @@ The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set
408473
<!--
409474
Upload control-plane certificates to the kubeadm-certs Secret.
410475
-->
476+
<p>
411477
将控制平面证书上传到 kubeadm-certs Secret。
478+
</p>
412479
</td>
413480
</tr>
414481

@@ -436,7 +503,9 @@ Upload control-plane certificates to the kubeadm-certs Secret.
436503
<!--
437504
[EXPERIMENTAL] The path to the 'real' host root filesystem.
438505
-->
506+
<p>
439507
[实验] 到 '真实' 主机根文件系统的路径。
508+
</p>
440509
</td>
441510
</tr>
442511

0 commit comments

Comments
 (0)