Skip to content

Commit d401812

Browse files
authored
Merge pull request #33487 from nameYULI/yl9
[zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_control-plane_all.md
2 parents d3636dc + 7c03662 commit d401812

File tree

1 file changed

+65
-14
lines changed

1 file changed

+65
-14
lines changed

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

Lines changed: 65 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
Generate all static Pod manifest files
3+
-->
4+
生成所有静态 Pod 清单文件
15

26
<!--
37
### Synopsis
@@ -53,7 +57,9 @@ kubeadm init phase control-plane all --config config.yaml
5357
<!--
5458
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
5559
-->
60+
<p>
5661
API 服务器所公布的其正在监听的 IP 地址。如果未设置,将使用默认的网络接口。
62+
</p>
5763
</td>
5864
</tr>
5965

@@ -66,20 +72,24 @@ API 服务器所公布的其正在监听的 IP 地址。如果未设置,将使
6672
<!--
6773
Port for the API Server to bind to.
6874
-->
75+
<p>
6976
API 服务器要绑定的端口。
77+
</p>
7078
</td>
7179
</tr>
7280

7381
<tr>
74-
<td colspan="2">--apiserver-extra-args mapStringString</td>
82+
<td colspan="2">--apiserver-extra-args &lt;<!--comma-separated 'key=value' pairs-->逗号分割的 'key=value' 对&gt;</td>
7583
</tr>
7684
<tr>
7785
<td></td><td style="line-height: 130%; word-wrap: break-word;">
7886
<!--
7987
A set of extra flags to pass to the API Server or override default ones in form of &lt;flagname&gt;=&lt;value&gt;
8088
-->
89+
<p>
8190
形式为 &lt;flagname&gt;=&lt;value&gt; 的一组额外参数,用来传递给 API 服务器,
8291
或者覆盖其默认配置值
92+
</p>
8393
</td>
8494
</tr>
8595

@@ -96,7 +106,9 @@ A set of extra flags to pass to the API Server or override default ones in form
96106
<!--
97107
The path where to save and store the certificates.
98108
-->
109+
<p>
99110
存储证书的路径。
111+
</p>
100112
</td>
101113
</tr>
102114

@@ -108,7 +120,9 @@ The path where to save and store the certificates.
108120
<!--
109121
Path to a kubeadm configuration file.
110122
-->
123+
<p>
111124
kubeadm 配置文件的路径。
125+
</p>
112126
</td>
113127
</tr>
114128

@@ -120,37 +134,36 @@ kubeadm 配置文件的路径。
120134
<!--
121135
Specify a stable IP address or DNS name for the control plane.
122136
-->
137+
<p>
123138
为控制平面选择一个稳定的 IP 地址或者 DNS 名称。
139+
</p>
124140
</td>
125141
</tr>
126142

127143
<tr>
128-
<td colspan="2">--controller-manager-extra-args mapStringString</td>
144+
<td colspan="2">--controller-manager-extra-args &lt;<!--comma-separated 'key=value' pairs-->逗号分割的 'key=value' 对&gt;</td>
129145
</tr>
130146
<tr>
131147
<td></td><td style="line-height: 130%; word-wrap: break-word;">
132148
<!--
133149
A set of extra flags to pass to the Controller Manager or override default ones in form of &lt;flagname&gt;=&lt;value&gt;
134150
-->
151+
<p>
135152
一组形式为 &lt;flagname&gt;=&lt;value&gt; 的额外参数,用来传递给控制管理器(Controller Manager)
136153
或覆盖其默认设置值
154+
</p>
137155
</td>
138156
</tr>
139157

140158
<tr>
141-
<td colspan="2">--experimental-patches string</td>
159+
<td colspan="2">--dry-run</td>
142160
</tr>
143161
<tr>
144162
<td></td><td style="line-height: 130%; word-wrap: break-word;">
145163
<!--
146-
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.
164+
Don't apply any changes; just output what would be done.
147165
-->
148-
包含名为 "target[suffix][+patchtype].extension" 的文件的目录。
149-
例如,"kube-apiserver0+merge.yaml" 或者 "etcd.json"。
150-
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,分别与 kubectl
151-
所支持的 patch 格式相匹配。默认的 "patchtype" 是 "strategic"。
152-
"extension" 必须是 "json" 或 "yaml"。
153-
"suffix" 是一个可选的字符串,用来确定按字母顺序排序时首先应用哪些 patch。
166+
不要应用任何变更;只是输出将要执行的操作。
154167
</td>
155168
</tr>
156169

@@ -160,11 +173,14 @@ Path to a directory that contains files named "target[suffix][+patchtype].extens
160173
<tr>
161174
<td></td><td style="line-height: 130%; word-wrap: break-word;">
162175
<!--
163-
A set of key=value pairs that describe feature gates for various features. Options are:<br/>IPv6DualStack=true|false (ALPHA - default=false)<br/>PublicKeysECDSA=true|false (ALPHA - default=false)
176+
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)
164177
-->
178+
<p>
165179
一组用来描述各种特性门控的键值(key=value)对。选项是:
166-
<br/>IPv6DualStack=true|false (ALPHA - 默认=false)
167-
<br/>PublicKeysECDSA=true|false (ALPHA - 默认=false)
180+
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
181+
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
182+
<br/>UnversionedKubeletConfigMap=true|false (BETA - 默认值=true)
183+
</p>
168184
</td>
169185
</tr>
170186

@@ -176,7 +192,9 @@ A set of key=value pairs that describe feature gates for various features. Optio
176192
<!--
177193
help for all
178194
-->
195+
<p>
179196
all 操作的帮助命令
197+
</p>
180198
</td>
181199
</tr>
182200

@@ -193,7 +211,9 @@ all 操作的帮助命令
193211
<!--
194212
Choose a container registry to pull control plane images from
195213
-->
214+
<p>
196215
选择用于拉取控制平面镜像的容器仓库
216+
</p>
197217
</td>
198218
</tr>
199219

@@ -210,7 +230,30 @@ Choose a container registry to pull control plane images from
210230
<!--
211231
Choose a specific Kubernetes version for the control plane.
212232
-->
233+
<p>
213234
为控制平面选择指定的 Kubernetes 版本。
235+
</p>
236+
</td>
237+
</tr>
238+
239+
<tr>
240+
<td colspan="2">--patches string</td>
241+
</tr>
242+
<tr>
243+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
244+
<!--
245+
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.
246+
-->
247+
<p>
248+
包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
249+
例如,&quot;kube-apiserver0+merge.yaml&quot;或仅仅是 &quot;etcd.json&quot;
250+
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot; 之一。
251+
&quot;patchtype&quot; 可以是 &quot;strategic&quot;&quot;merge&quot; 或者 &quot;json&quot; 之一,
252+
并且它们与 kubectl 支持的补丁格式相同。
253+
默认的 &quot;patchtype&quot;&quot;strategic&quot;
254+
&quot;extension&quot; 必须是&quot;json&quot;&quot;yaml&quot;
255+
&quot;suffix&quot; 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
256+
</p>
214257
</td>
215258
</tr>
216259

@@ -222,22 +265,26 @@ Choose a specific Kubernetes version for the control plane.
222265
<!--
223266
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
224267
-->
268+
<p>
225269
指定 Pod 网络的 IP 地址范围。如果设置了此标志,控制平面将自动地为每个节点分配 CIDR。
270+
</p>
226271
</td>
227272
</tr>
228273

229274
<tr>
230-
<td colspan="2">--scheduler-extra-args mapStringString</td>
275+
<td colspan="2">--scheduler-extra-args &lt;<!--comma-separated 'key=value' pairs-->逗号分割的 'key=value' 对&gt;</td>
231276
</tr>
232277
<tr>
233278
<td></td><td style="line-height: 130%; word-wrap: break-word;">
234279
<!--
235280
A set of extra flags to pass to the Scheduler or override default ones in form of &lt;flagname&gt;=&lt;value&gt;
236281
-->
282+
<p>
237283
一组形式为 &lt;flagname&gt;=&lt;value&gt; 的额外参数,用来传递给调度器(Scheduler)
238284
或覆盖其默认设置值
239285

240286
传递给调度器(scheduler)一组额外的参数或者以 &lt;flagname&gt;=&lt;value&gt; 形式覆盖其默认值。
287+
<p>
241288
</td>
242289
</tr>
243290

@@ -254,7 +301,9 @@ A set of extra flags to pass to the Scheduler or override default ones in form o
254301
<!--
255302
Use alternative range of IP address for service VIPs.
256303
-->
304+
<p>
257305
为服务 VIP 选择 IP 地址范围。
306+
</p>
258307
</td>
259308
</tr>
260309

@@ -281,7 +330,9 @@ Use alternative range of IP address for service VIPs.
281330
<!--
282331
[EXPERIMENTAL] The path to the 'real' host root filesystem.
283332
-->
333+
<p>
284334
[实验] 指向 '真实' 宿主机的根文件系统的路径。
335+
</p>
285336
</td>
286337
</tr>
287338

0 commit comments

Comments
 (0)