Skip to content

Commit e20254e

Browse files
committed
[zh-cn]sync kubeadm_init_phase_control-plane_all.md
Signed-off-by: xin.li <[email protected]>
1 parent 934497c commit e20254e

File tree

3 files changed

+84
-64
lines changed

3 files changed

+84
-64
lines changed

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

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Generate all static Pod manifest files
1313
-->
1414
生成所有的静态 Pod 清单文件。
1515

16-
```
16+
```shell
1717
kubeadm init phase control-plane all [flags]
1818
```
1919

@@ -56,25 +56,29 @@ kubeadm init phase control-plane all --config config.yaml
5656
</tr>
5757
<tr>
5858
<td></td><td style="line-height: 130%; word-wrap: break-word;">
59+
<p>
5960
<!--
6061
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
6162
-->
62-
<p>
6363
API 服务器所公布的其正在监听的 IP 地址。如果未设置,将使用默认的网络接口。
6464
</p>
6565
</td>
6666
</tr>
6767

6868
<tr>
69-
<!-- td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443</td -->
70-
<td colspan="2">--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:6443</td>
69+
<td colspan="2">
70+
<!--
71+
--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: 6443
72+
-->
73+
--apiserver-bind-port int32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:6443
74+
</td>
7175
</tr>
7276
<tr>
7377
<td></td><td style="line-height: 130%; word-wrap: break-word;">
78+
<p>
7479
<!--
7580
Port for the API Server to bind to.
7681
-->
77-
<p>
7882
API 服务器要绑定的端口。
7983
</p>
8084
</td>
@@ -85,10 +89,10 @@ API 服务器要绑定的端口。
8589
</tr>
8690
<tr>
8791
<td></td><td style="line-height: 130%; word-wrap: break-word;">
92+
<p>
8893
<!--
8994
A set of extra flags to pass to the API Server or override default ones in form of &lt;flagname&gt;=&lt;value&gt;
9095
-->
91-
<p>
9296
形式为 &lt;flagname&gt;=&lt;value&gt; 的一组额外参数,用来传递给 API 服务器,
9397
或者覆盖其默认配置值。
9498
</p>
@@ -105,10 +109,10 @@ A set of extra flags to pass to the API Server or override default ones in form
105109
</tr>
106110
<tr>
107111
<td></td><td style="line-height: 130%; word-wrap: break-word;">
112+
<p>
108113
<!--
109114
The path where to save and store the certificates.
110115
-->
111-
<p>
112116
存储证书的路径。
113117
</p>
114118
</td>
@@ -119,10 +123,10 @@ The path where to save and store the certificates.
119123
</tr>
120124
<tr>
121125
<td></td><td style="line-height: 130%; word-wrap: break-word;">
126+
<p>
122127
<!--
123128
Path to a kubeadm configuration file.
124129
-->
125-
<p>
126130
kubeadm 配置文件的路径。
127131
</p>
128132
</td>
@@ -133,10 +137,10 @@ kubeadm 配置文件的路径。
133137
</tr>
134138
<tr>
135139
<td></td><td style="line-height: 130%; word-wrap: break-word;">
140+
<p>
136141
<!--
137142
Specify a stable IP address or DNS name for the control plane.
138143
-->
139-
<p>
140144
为控制平面选择一个稳定的 IP 地址或者 DNS 名称。
141145
</p>
142146
</td>
@@ -147,10 +151,10 @@ Specify a stable IP address or DNS name for the control plane.
147151
</tr>
148152
<tr>
149153
<td></td><td style="line-height: 130%; word-wrap: break-word;">
154+
<p>
150155
<!--
151156
A set of extra flags to pass to the Controller Manager or override default ones in form of &lt;flagname&gt;=&lt;value&gt;
152157
-->
153-
<p>
154158
一组形式为 &lt;flagname&gt;=&lt;value&gt; 的额外参数,用来传递给控制管理器(Controller Manager)
155159
或覆盖其默认设置值。
156160
</p>
@@ -174,6 +178,7 @@ Don't apply any changes; just output what would be done.
174178
</tr>
175179
<tr>
176180
<td></td><td style="line-height: 130%; word-wrap: break-word;">
181+
<p>
177182
<!--
178183
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
179184
ControlPlaneKubeletLocalMode=true|false (ALPHA - default=false)<br/>
@@ -183,7 +188,6 @@ PublicKeysECDSA=true|false (DEPRECATED - default=false)<br/>
183188
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
184189
WaitForAllControlPlaneComponents=true|false (ALPHA - default=false)
185190
-->
186-
<p>
187191
一组用来描述各种特性门控的键值(key=value)对。选项是:<br/>
188192
ControlPlaneKubeletLocalMode=true|false (ALPHA - 默认值=false)<br/>
189193
EtcdLearnerMode=true|false (默认值=true)<br/>
@@ -200,10 +204,10 @@ WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
200204
</tr>
201205
<tr>
202206
<td></td><td style="line-height: 130%; word-wrap: break-word;">
207+
<p>
203208
<!--
204209
help for all
205210
-->
206-
<p>
207211
all 操作的帮助命令。
208212
</p>
209213
</td>
@@ -219,10 +223,10 @@ all 操作的帮助命令。
219223
</tr>
220224
<tr>
221225
<td></td><td style="line-height: 130%; word-wrap: break-word;">
226+
<p>
222227
<!--
223228
Choose a container registry to pull control plane images from
224229
-->
225-
<p>
226230
选择用于拉取控制平面镜像的容器仓库。
227231
</p>
228232
</td>
@@ -238,10 +242,10 @@ Choose a container registry to pull control plane images from
238242
</tr>
239243
<tr>
240244
<td></td><td style="line-height: 130%; word-wrap: break-word;">
245+
<p>
241246
<!--
242247
Choose a specific Kubernetes version for the control plane.
243248
-->
244-
<p>
245249
为控制平面选择指定的 Kubernetes 版本。
246250
</p>
247251
</td>
@@ -252,10 +256,10 @@ Choose a specific Kubernetes version for the control plane.
252256
</tr>
253257
<tr>
254258
<td></td><td style="line-height: 130%; word-wrap: break-word;">
259+
<p>
255260
<!--
256261
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;kubeletconfiguration&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.
257262
-->
258-
<p>
259263
包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
260264
例如,&quot;kube-apiserver0+merge.yaml&quot; 或是简单的 &quot;etcd.json&quot;
261265
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot;&quot;kubeletconfiguration&quot; 之一。
@@ -273,10 +277,10 @@ Path to a directory that contains files named &quot;target[suffix][+patchtype].e
273277
</tr>
274278
<tr>
275279
<td></td><td style="line-height: 130%; word-wrap: break-word;">
280+
<p>
276281
<!--
277282
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
278283
-->
279-
<p>
280284
指定 Pod 网络的 IP 地址范围。如果设置了此标志,控制平面将自动地为每个节点分配 CIDR。
281285
</p>
282286
</td>
@@ -287,10 +291,10 @@ Specify range of IP addresses for the pod network. If set, the control plane wil
287291
</tr>
288292
<tr>
289293
<td></td><td style="line-height: 130%; word-wrap: break-word;">
294+
<p>
290295
<!--
291296
A set of extra flags to pass to the Scheduler or override default ones in form of &lt;flagname&gt;=&lt;value&gt;
292297
-->
293-
<p>
294298
一组形式为 &lt;flagname&gt;=&lt;value&gt; 的额外参数,用来传递给调度器(Scheduler)
295299
或覆盖其默认设置值。
296300
<p>
@@ -307,11 +311,11 @@ A set of extra flags to pass to the Scheduler or override default ones in form o
307311
</tr>
308312
<tr>
309313
<td></td><td style="line-height: 130%; word-wrap: break-word;">
314+
<p>
310315
<!--
311316
Use alternative range of IP address for service VIPs.
312317
-->
313-
<p>
314-
为服务 VIP 选择 IP 地址范围。
318+
为 Service VIP 选择 IP 地址范围。
315319
</p>
316320
</td>
317321
</tr>
@@ -336,10 +340,10 @@ Use alternative range of IP address for service VIPs.
336340
</tr>
337341
<tr>
338342
<td></td><td style="line-height: 130%; word-wrap: break-word;">
343+
<p>
339344
<!--
340345
[EXPERIMENTAL] The path to the 'real' host root filesystem.
341346
-->
342-
<p>
343347
[实验] 指向'真实'宿主机的根文件系统的路径。
344348
</p>
345349
</td>

0 commit comments

Comments
 (0)