@@ -13,7 +13,7 @@ Generate all static Pod manifest files
13
13
-->
14
14
生成所有的静态 Pod 清单文件。
15
15
16
- ```
16
+ ``` shell
17
17
kubeadm init phase control-plane all [flags]
18
18
```
19
19
@@ -56,25 +56,29 @@ kubeadm init phase control-plane all --config config.yaml
56
56
</tr >
57
57
<tr >
58
58
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
59
+ <p >
59
60
<!--
60
61
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
61
62
-->
62
- <p >
63
63
API 服务器所公布的其正在监听的 IP 地址。如果未设置,将使用默认的网络接口。
64
64
</p >
65
65
</td >
66
66
</tr >
67
67
68
68
<tr >
69
- <!-- td colspan="2">--apiserver-bind-port int32 Default: 6443</td -->
70
- <td colspan =" 2 " >--apiserver-bind-port int32  ;  ;  ;  ;  ; 默认值:6443</td >
69
+ <td colspan =" 2 " >
70
+ <!--
71
+ --apiserver-bind-port int32 Default: 6443
72
+ -->
73
+ --apiserver-bind-port int32  ;  ;  ;  ;  ; 默认值:6443
74
+ </td >
71
75
</tr >
72
76
<tr >
73
77
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
78
+ <p >
74
79
<!--
75
80
Port for the API Server to bind to.
76
81
-->
77
- <p >
78
82
API 服务器要绑定的端口。
79
83
</p >
80
84
</td >
@@ -85,10 +89,10 @@ API 服务器要绑定的端口。
85
89
</tr >
86
90
<tr >
87
91
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
92
+ <p >
88
93
<!--
89
94
A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value>
90
95
-->
91
- <p >
92
96
形式为 < ; flagname> ; =< ; value> ; 的一组额外参数,用来传递给 API 服务器,
93
97
或者覆盖其默认配置值。
94
98
</p >
@@ -105,10 +109,10 @@ A set of extra flags to pass to the API Server or override default ones in form
105
109
</tr >
106
110
<tr >
107
111
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
112
+ <p >
108
113
<!--
109
114
The path where to save and store the certificates.
110
115
-->
111
- <p >
112
116
存储证书的路径。
113
117
</p >
114
118
</td >
@@ -119,10 +123,10 @@ The path where to save and store the certificates.
119
123
</tr >
120
124
<tr >
121
125
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
126
+ <p >
122
127
<!--
123
128
Path to a kubeadm configuration file.
124
129
-->
125
- <p >
126
130
kubeadm 配置文件的路径。
127
131
</p >
128
132
</td >
@@ -133,10 +137,10 @@ kubeadm 配置文件的路径。
133
137
</tr >
134
138
<tr >
135
139
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
140
+ <p >
136
141
<!--
137
142
Specify a stable IP address or DNS name for the control plane.
138
143
-->
139
- <p >
140
144
为控制平面选择一个稳定的 IP 地址或者 DNS 名称。
141
145
</p >
142
146
</td >
@@ -147,10 +151,10 @@ Specify a stable IP address or DNS name for the control plane.
147
151
</tr >
148
152
<tr >
149
153
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
154
+ <p >
150
155
<!--
151
156
A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value>
152
157
-->
153
- <p >
154
158
一组形式为 < ; flagname> ; =< ; value> ; 的额外参数,用来传递给控制管理器(Controller Manager)
155
159
或覆盖其默认设置值。
156
160
</p >
@@ -174,6 +178,7 @@ Don't apply any changes; just output what would be done.
174
178
</tr >
175
179
<tr >
176
180
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
181
+ <p >
177
182
<!--
178
183
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
179
184
ControlPlaneKubeletLocalMode=true|false (ALPHA - default=false)<br/>
@@ -183,7 +188,6 @@ PublicKeysECDSA=true|false (DEPRECATED - default=false)<br/>
183
188
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
184
189
WaitForAllControlPlaneComponents=true|false (ALPHA - default=false)
185
190
-->
186
- <p >
187
191
一组用来描述各种特性门控的键值(key=value)对。选项是:<br />
188
192
ControlPlaneKubeletLocalMode=true|false (ALPHA - 默认值=false)<br />
189
193
EtcdLearnerMode=true|false (默认值=true)<br />
@@ -200,10 +204,10 @@ WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
200
204
</tr >
201
205
<tr >
202
206
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
207
+ <p >
203
208
<!--
204
209
help for all
205
210
-->
206
- <p >
207
211
all 操作的帮助命令。
208
212
</p >
209
213
</td >
@@ -219,10 +223,10 @@ all 操作的帮助命令。
219
223
</tr >
220
224
<tr >
221
225
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
226
+ <p >
222
227
<!--
223
228
Choose a container registry to pull control plane images from
224
229
-->
225
- <p >
226
230
选择用于拉取控制平面镜像的容器仓库。
227
231
</p >
228
232
</td >
@@ -238,10 +242,10 @@ Choose a container registry to pull control plane images from
238
242
</tr >
239
243
<tr >
240
244
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
245
+ <p >
241
246
<!--
242
247
Choose a specific Kubernetes version for the control plane.
243
248
-->
244
- <p >
245
249
为控制平面选择指定的 Kubernetes 版本。
246
250
</p >
247
251
</td >
@@ -252,10 +256,10 @@ Choose a specific Kubernetes version for the control plane.
252
256
</tr >
253
257
<tr >
254
258
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
259
+ <p >
255
260
<!--
256
261
Path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "target" can be one of "kube-apiserver", "kube-controller-manager", "kube-scheduler", "etcd", "kubeletconfiguration". "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.
257
262
-->
258
- <p >
259
263
包含名为 " ; target[ suffix] [ +patchtype ] .extension" ; 的文件的目录的路径。
260
264
例如," ; kube-apiserver0+merge.yaml" ; 或是简单的 " ; etcd.json" ; 。
261
265
" ; target" ; 可以是 " ; kube-apiserver" ; 、" ; kube-controller-manager" ; 、" ; kube-scheduler" ; 、" ; etcd" ; 、" ; kubeletconfiguration" ; 之一。
@@ -273,10 +277,10 @@ Path to a directory that contains files named "target[suffix][+patchtype].e
273
277
</tr >
274
278
<tr >
275
279
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
280
+ <p >
276
281
<!--
277
282
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
278
283
-->
279
- <p >
280
284
指定 Pod 网络的 IP 地址范围。如果设置了此标志,控制平面将自动地为每个节点分配 CIDR。
281
285
</p >
282
286
</td >
@@ -287,10 +291,10 @@ Specify range of IP addresses for the pod network. If set, the control plane wil
287
291
</tr >
288
292
<tr >
289
293
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
294
+ <p >
290
295
<!--
291
296
A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value>
292
297
-->
293
- <p >
294
298
一组形式为 < ; flagname> ; =< ; value> ; 的额外参数,用来传递给调度器(Scheduler)
295
299
或覆盖其默认设置值。
296
300
<p >
@@ -307,11 +311,11 @@ A set of extra flags to pass to the Scheduler or override default ones in form o
307
311
</tr >
308
312
<tr >
309
313
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
314
+ <p >
310
315
<!--
311
316
Use alternative range of IP address for service VIPs.
312
317
-->
313
- <p >
314
- 为服务 VIP 选择 IP 地址范围。
318
+ 为 Service VIP 选择 IP 地址范围。
315
319
</p >
316
320
</td >
317
321
</tr >
@@ -336,10 +340,10 @@ Use alternative range of IP address for service VIPs.
336
340
</tr >
337
341
<tr >
338
342
<td ></td ><td style =" line-height : 130% ; word-wrap : break-word ;" >
343
+ <p >
339
344
<!--
340
345
[EXPERIMENTAL] The path to the 'real' host root filesystem.
341
346
-->
342
- <p >
343
347
[ 实验] 指向'真实'宿主机的根文件系统的路径。
344
348
</p >
345
349
</td >
0 commit comments