Skip to content

Commit 85e4486

Browse files
committed
[zh-cn]sync kubeadm_init/*
Signed-off-by: xin.li <[email protected]>
1 parent e0bbb9a commit 85e4486

File tree

6 files changed

+58
-52
lines changed

6 files changed

+58
-52
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,13 @@ upload-certs Upload certificates to kubeadm-certs
5353
mark-control-plane Mark a node as a control-plane
5454
bootstrap-token Generates bootstrap tokens used to join a node to a cluster
5555
kubelet-finalize Updates settings relevant to the kubelet after TLS bootstrap
56-
/experimental-cert-rotation Enable kubelet client certificate rotation
5756
addon Install required addons for passing conformance tests
5857
/coredns Install the CoreDNS addon to a Kubernetes cluster
5958
/kube-proxy Install the kube-proxy addon to a Kubernetes cluster
6059
show-join-command Show the join command for control-plane and worker node
6160
```
6261
-->
63-
```
62+
```shell
6463
preflight 预检
6564
certs 生成证书
6665
/ca 生成自签名根 CA 用于配置其他 kubernetes 组件
@@ -94,14 +93,13 @@ upload-certs 将证书上传到 kubeadm-certs
9493
mark-control-plane 将节点标记为控制面
9594
bootstrap-token 生成用于将节点加入集群的引导令牌
9695
kubelet-finalize 在 TLS 引导后更新与 kubelet 相关的设置
97-
/experimental-cert-rotation 启用 kubelet 客户端证书轮换
9896
addon 安装用于通过一致性测试所需的插件
9997
/coredns 将 CoreDNS 插件安装到 Kubernetes 集群
10098
/kube-proxy 将 kube-proxy 插件安装到 Kubernetes 集群
10199
show-join-command 显示控制平面和工作节点的加入命令
102100
```
103101

104-
```
102+
```shell
105103
kubeadm init [flags]
106104
```
107105

@@ -262,17 +260,19 @@ Don't apply any changes; just output what would be done.
262260
<td></td><td style="line-height: 130%; word-wrap: break-word;">
263261
<!--
264262
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
265-
EtcdLearnerMode=true|false (BETA - default=true)<br/>
263+
ControlPlaneKubeletLocalMode=true|false (ALPHA - default=false)<br/>
264+
EtcdLearnerMode=true|false (default=true)<br/>
265+
NodeLocalCRISocket=true|false (ALPHA - default=false)<br/>
266266
PublicKeysECDSA=true|false (DEPRECATED - default=false)<br/>
267267
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
268-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)<br/>
269268
WaitForAllControlPlaneComponents=true|false (ALPHA - default=false)
270269
-->
271270
一组用来描述各种功能特性的键值(key=value)对。选项是:<br/>
272-
EtcdLearnerMode=true|false (BETA - 默认值=true)<br/>
271+
ControlPlaneKubeletLocalMode=true|false (ALPHA - 默认值=false)<br/>
272+
EtcdLearnerMode=true|false (默认值=true)<br/>
273+
NodeLocalCRISocket=true|false (ALPHA - 默认值=false)<br/>
273274
PublicKeysECDSA=true|false (DEPRECATED - 默认值=false)<br/>
274275
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
275-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)<br/>
276276
WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
277277
</td>
278278
</tr>
@@ -367,12 +367,12 @@ Path to a directory that contains files named &quot;target[suffix][+patchtype].e
367367
-->
368368
<p>
369369
它包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
370-
例如,&quot;kube-apiserver0+merge.yaml&quot;或仅仅是 &quot;etcd.json&quot;
370+
例如,&quot;kube-apiserver0+merge.yaml&quot; 或仅仅是 &quot;etcd.json&quot;
371371
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot;&quot;kubeletconfiguration&quot; 之一。
372372
&quot;patchtype&quot; 可以是 &quot;strategic&quot;&quot;merge&quot; 或者 &quot;json&quot; 之一,
373373
并且它们与 kubectl 支持的补丁格式相同。
374374
默认的 &quot;patchtype&quot;&quot;strategic&quot;
375-
&quot;extension&quot; 必须是&quot;json&quot;&quot;yaml&quot;
375+
&quot;extension&quot; 必须是 &quot;json&quot; &quot;yaml&quot;
376376
&quot;suffix&quot; 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
377377
</p>
378378
</td>
@@ -526,7 +526,7 @@ Upload control-plane certificates to the kubeadm-certs Secret.
526526
-->
527527
### 从父命令继承的选项
528528

529-
<table style="width: 100%; table-layout: fixed;">
529+
<table style="width: 100%; table-layout: fixed;">
530530
<colgroup>
531531
<col span="1" style="width: 10px;" />
532532
<col span="1" />
@@ -542,7 +542,7 @@ Upload control-plane certificates to the kubeadm-certs Secret.
542542
[EXPERIMENTAL] The path to the 'real' host root filesystem.
543543
-->
544544
<p>
545-
[实验] '真实' 主机根文件系统的路径。
545+
[实验] 到'真实'主机根文件系统的路径。
546546
</p>
547547
</td>
548548
</tr>

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Install all the addons
1313
-->
1414
安装所有插件(addon)。
1515

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

@@ -22,7 +22,7 @@ kubeadm init phase addon all [flags]
2222
-->
2323
### 选项
2424

25-
<table style="width: 100%; table-layout: fixed;">
25+
<table style="width: 100%; table-layout: fixed;">
2626
<colgroup>
2727
<col span="1" style="width: 10px;" />
2828
<col span="1" />
@@ -111,17 +111,19 @@ Don't apply any changes; just output what would be done.
111111
<td></td><td style="line-height: 130%; word-wrap: break-word;">
112112
<!--
113113
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
114-
EtcdLearnerMode=true|false (BETA - default=true)<br/>
114+
ControlPlaneKubeletLocalMode=true|false (ALPHA - default=false)<br/>
115+
EtcdLearnerMode=true|false (default=true)<br/>
116+
NodeLocalCRISocket=true|false (ALPHA - default=false)<br/>
115117
PublicKeysECDSA=true|false (DEPRECATED - default=false)<br/>
116118
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
117-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)<br/>
118119
WaitForAllControlPlaneComponents=true|false (ALPHA - default=false)
119120
-->
120121
一组键值对(key=value),描述了各种特征。选项包括:<br/>
121-
EtcdLearnerMode=true|false (BETA - 默认值=true)<br/>
122+
ControlPlaneKubeletLocalMode=true|false (ALPHA - 默认值=false)<br/>
123+
EtcdLearnerMode=true|false (默认值=true)<br/>
124+
NodeLocalCRISocket=true|false (ALPHA - 默认值=false)<br/>
122125
PublicKeysECDSA=true|false (DEPRECATED - 默认值=false)<br/>
123126
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
124-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)<br/>
125127
WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
126128
</td>
127129
</tr>
@@ -255,7 +257,7 @@ Use alternative domain for services, e.g. &quot;myorg.internal&quot;.
255257
-->
256258
### 继承于父命令的选项
257259

258-
<table style="width: 100%; table-layout: fixed;">
260+
<table style="width: 100%; table-layout: fixed;">
259261
<colgroup>
260262
<col span="1" style="width: 10px;" />
261263
<col span="1" />
@@ -271,7 +273,7 @@ Use alternative domain for services, e.g. &quot;myorg.internal&quot;.
271273
[EXPERIMENTAL] The path to the 'real' host root filesystem.
272274
-->
273275
<p>
274-
[实验] '真实' 主机根文件系统的路径。
276+
[实验] 到'真实'主机根文件系统的路径。
275277
</p>
276278
</td>
277279
</tr>

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Certificate generation
99
### 概要
1010

1111
<!--
12-
This command is not meant to be run on its own. See list of available subcommands.
12+
Certificate generation
1313
-->
14-
此命令不应单独运行。请参阅可用子命令列表。
14+
证书生成:
1515

16-
```
16+
```shell
1717
kubeadm init phase certs [flags]
1818
```
1919

@@ -22,7 +22,7 @@ kubeadm init phase certs [flags]
2222
-->
2323
### 选项
2424

25-
<table style="width: 100%; table-layout: fixed;">
25+
<table style="width: 100%; table-layout: fixed;">
2626
<colgroup>
2727
<col span="1" style="width: 10px;" />
2828
<col span="1" />
@@ -51,7 +51,7 @@ certs 操作的帮助命令。
5151
-->
5252
### 从父指令中继承的选项
5353

54-
<table style="width: 100%; table-layout: fixed;">
54+
<table style="width: 100%; table-layout: fixed;">
5555
<colgroup>
5656
<col span="1" style="width: 10px;" />
5757
<col span="1" />
@@ -67,7 +67,7 @@ certs 操作的帮助命令。
6767
[EXPERIMENTAL] The path to the 'real' host root filesystem.
6868
-->
6969
<p>
70-
[实验] '真实' 主机根文件系统的路径。
70+
[实验] 到'真实'主机根文件系统的路径。
7171
</p>
7272
</td>
7373
</tr>

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ kubeadm init phase control-plane all --config config.yaml
3131
-->
3232
### 示例
3333

34-
```
34+
```shell
3535
# 为控制平面组件生成静态 Pod 清单文件,其功能等效于 kubeadm init 生成的文件。
3636
kubeadm init phase control-plane all
3737

@@ -44,7 +44,7 @@ kubeadm init phase control-plane all --config config.yaml
4444
-->
4545
### 选项
4646

47-
<table style="width: 100%; table-layout: fixed;">
47+
<table style="width: 100%; table-layout: fixed;">
4848
<colgroup>
4949
<col span="1" style="width: 10px;" />
5050
<col span="1" />
@@ -176,18 +176,20 @@ Don't apply any changes; just output what would be done.
176176
<td></td><td style="line-height: 130%; word-wrap: break-word;">
177177
<!--
178178
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
179-
EtcdLearnerMode=true|false (BETA - default=true)<br/>
179+
ControlPlaneKubeletLocalMode=true|false (ALPHA - default=false)<br/>
180+
EtcdLearnerMode=true|false (default=true)<br/>
181+
NodeLocalCRISocket=true|false (ALPHA - default=false)<br/>
180182
PublicKeysECDSA=true|false (DEPRECATED - default=false)<br/>
181183
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
182-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)<br/>
183184
WaitForAllControlPlaneComponents=true|false (ALPHA - default=false)
184185
-->
185186
<p>
186187
一组用来描述各种特性门控的键值(key=value)对。选项是:<br/>
187-
EtcdLearnerMode=true|false (BETA - 默认值=true)<br/>
188+
ControlPlaneKubeletLocalMode=true|false (ALPHA - 默认值=false)<br/>
189+
EtcdLearnerMode=true|false (默认值=true)<br/>
190+
NodeLocalCRISocket=true|false (ALPHA - 默认值=false)<br/>
188191
PublicKeysECDSA=true|false (DEPRECATED - 默认值=false)<br/>
189192
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
190-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)
191193
WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
192194
</p>
193195
</td>
@@ -255,7 +257,7 @@ Path to a directory that contains files named &quot;target[suffix][+patchtype].e
255257
-->
256258
<p>
257259
包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
258-
例如,&quot;kube-apiserver0+merge.yaml&quot;或是简单的 &quot;etcd.json&quot;
260+
例如,&quot;kube-apiserver0+merge.yaml&quot; 或是简单的 &quot;etcd.json&quot;
259261
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot;&quot;kubeletconfiguration&quot; 之一。
260262
&quot;patchtype&quot; 可以是 &quot;strategic&quot;&quot;merge&quot; 或者 &quot;json&quot; 之一,
261263
并且它们与 kubectl 支持的补丁格式相匹配。
@@ -322,7 +324,7 @@ Use alternative range of IP address for service VIPs.
322324
-->
323325
### 从父指令继承的选项
324326

325-
<table style="width: 100%; table-layout: fixed;">
327+
<table style="width: 100%; table-layout: fixed;">
326328
<colgroup>
327329
<col span="1" style="width: 10px;" />
328330
<col span="1" />

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

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Generates the kube-apiserver static Pod manifest
1313
-->
1414
生成 kube-apiserver 静态 Pod 清单。
1515

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

@@ -22,7 +22,7 @@ kubeadm init phase control-plane apiserver [flags]
2222
-->
2323
### 选项
2424

25-
<table style="width: 100%; table-layout: fixed;">
25+
<table style="width: 100%; table-layout: fixed;">
2626
<colgroup>
2727
<col span="1" style="width: 10px;" />
2828
<col span="1" />
@@ -87,10 +87,10 @@ A set of extra flags to pass to the API Server or override default ones in form
8787
</tr>
8888
<tr>
8989
<td></td><td style="line-height: 130%; word-wrap: break-word;">
90+
<p>
9091
<!--
9192
The path where to save and store the certificates.
9293
-->
93-
<p>
9494
保存和存储证书的路径。
9595
</p>
9696
</td>
@@ -101,10 +101,10 @@ The path where to save and store the certificates.
101101
</tr>
102102
<tr>
103103
<td></td><td style="line-height: 130%; word-wrap: break-word;">
104+
<p>
104105
<!--
105106
Path to a kubeadm configuration file.
106107
-->
107-
<p>
108108
kubeadm 配置文件的路径。
109109
</p>
110110
</td>
@@ -115,10 +115,10 @@ kubeadm 配置文件的路径。
115115
</tr>
116116
<tr>
117117
<td></td><td style="line-height: 130%; word-wrap: break-word;">
118+
<p>
118119
<!--
119120
Specify a stable IP address or DNS name for the control plane.
120121
-->
121-
<p>
122122
为控制平面指定一个稳定的 IP 地址或 DNS 名称。
123123
</p>
124124
</td>
@@ -135,7 +135,7 @@ Don't apply any changes; just output what would be done.
135135
不做任何更改;只输出将要执行的操作。
136136
</p>
137137
</td>
138-
</tr>
138+
</tr>
139139

140140
<tr>
141141
<td colspan="2">--feature-gates string</td>
@@ -144,18 +144,20 @@ Don't apply any changes; just output what would be done.
144144
<td></td><td style="line-height: 130%; word-wrap: break-word;">
145145
<!--
146146
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
147-
EtcdLearnerMode=true|false (BETA - default=true)<br/>
147+
ControlPlaneKubeletLocalMode=true|false (ALPHA - default=false)<br/>
148+
EtcdLearnerMode=true|false (default=true)<br/>
149+
NodeLocalCRISocket=true|false (ALPHA - default=false)<br/>
148150
PublicKeysECDSA=true|false (DEPRECATED - default=false)<br/>
149151
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
150-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)<br/>
151152
WaitForAllControlPlaneComponents=true|false (ALPHA - default=false)
152153
-->
153154
<p>
154155
一组键值对,用于描述各种功能特性的特性门控。选项是:<br/>
155-
EtcdLearnerMode=true|false (BETA - 默认值=true)<br/>
156+
ControlPlaneKubeletLocalMode=true|false (ALPHA - 默认值=false)<br/>
157+
EtcdLearnerMode=true|false (默认值=true)<br/>
158+
NodeLocalCRISocket=true|false (ALPHA - 默认值=false)<br/>
156159
PublicKeysECDSA=true|false (DEPRECATED - 默认值=false)<br/>
157160
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
158-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)<br/>
159161
WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
160162
</p>
161163
</td>
@@ -261,7 +263,7 @@ Use alternative range of IP address for service VIPs.
261263
-->
262264
### 继承于父命令的选项
263265

264-
<table style="width: 100%; table-layout: fixed;">
266+
<table style="width: 100%; table-layout: fixed;">
265267
<colgroup>
266268
<col span="1" style="width: 10px;" />
267269
<col span="1" />
@@ -277,7 +279,7 @@ Use alternative range of IP address for service VIPs.
277279
[EXPERIMENTAL] The path to the 'real' host root filesystem.
278280
-->
279281
<p>
280-
[实验] '真实' 主机根文件系统路径。
282+
[实验] 到'真实'主机根文件系统路径。
281283
</p>
282284
</td>
283285
</tr>

0 commit comments

Comments
 (0)