Skip to content

Commit b3a4beb

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

File tree

4 files changed

+60
-49
lines changed

4 files changed

+60
-49
lines changed

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_config/kubeadm_config_images_list.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Print a list of images kubeadm will use. The configuration file is used in case
1313
-->
1414
打印 kubeadm 要使用的镜像列表。配置文件用于自定义镜像或镜像存储库。
1515

16-
```
16+
```shell
1717
kubeadm config images list [flags]
1818
```
1919

@@ -22,7 +22,7 @@ kubeadm config images list [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" />
@@ -37,10 +37,10 @@ kubeadm config images list [flags]
3737
</tr>
3838
<tr>
3939
<td></td><td style="line-height: 130%; word-wrap: break-word;">
40+
<p>
4041
<!--
4142
If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats.
4243
-->
43-
<p>
4444
如果设置为 true,则在模板中缺少字段或哈希表的键时忽略模板中的任何错误。
4545
仅适用于 golang 和 jsonpath 输出格式。
4646
</p>
@@ -52,10 +52,10 @@ If true, ignore any errors in templates when a field or map key is missing in th
5252
</tr>
5353
<tr>
5454
<td></td><td style="line-height: 130%; word-wrap: break-word;">
55+
<p>
5556
<!--
5657
Path to a kubeadm configuration file.
5758
-->
58-
<p>
5959
kubeadm 配置文件的路径。
6060
</p>
6161
</td>
@@ -82,20 +82,20 @@ Output format. One of: text|json|yaml|go-template|go-template-file|template|temp
8282
</tr>
8383
<tr>
8484
<td></td><td style="line-height: 130%; word-wrap: break-word;">
85+
<p>
8586
<!--
8687
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
88+
ControlPlaneKubeletLocalMode=true|false (ALPHA - default=false)<br/>
8789
EtcdLearnerMode=true|false (BETA - default=true)<br/>
8890
PublicKeysECDSA=true|false (DEPRECATED - default=false)<br/>
8991
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
90-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)<br/>
91-
WaitForAllControlPlaneComponents=true|false (ALPHA - default=false)
92+
WaitForAllControlPlaneComponents=true|false (ALPHA - default=false)</p>
9293
-->
93-
<p>
9494
一组键值对(key=value),用于描述各种特性。这些选项是:<br/>
95+
ControlPlaneKubeletLocalMode=true|false (ALPHA - 默认值=false)<br/>
9596
EtcdLearnerMode=true|false (BETA - 默认值=true)<br/>
9697
PublicKeysECDSA=true|false (DEPRECATED - 默认值=false)<br/>
9798
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
98-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)<br/>
9999
WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
100100
</p>
101101
</td>
@@ -106,10 +106,10 @@ WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
106106
</tr>
107107
<tr>
108108
<td></td><td style="line-height: 130%; word-wrap: break-word;">
109+
<p>
109110
<!--
110111
help for list
111112
-->
112-
<p>
113113
list 操作的帮助命令。
114114
</p>
115115
</td>
@@ -125,10 +125,10 @@ list 操作的帮助命令。
125125
</tr>
126126
<tr>
127127
<td></td><td style="line-height: 130%; word-wrap: break-word;">
128+
<p>
128129
<!--
129130
Choose a container registry to pull control plane images from
130131
-->
131-
<p>
132132
选择要从中拉取控制平面镜像的容器仓库。
133133
</p>
134134
</td>
@@ -144,10 +144,10 @@ Choose a container registry to pull control plane images from
144144
</tr>
145145
<tr>
146146
<td></td><td style="line-height: 130%; word-wrap: break-word;">
147+
<p>
147148
<!--
148149
Choose a specific Kubernetes version for the control plane.
149150
-->
150-
<p>
151151
为控制平面选择一个特定的 Kubernetes 版本。
152152
</p>
153153
</td>
@@ -163,10 +163,10 @@ Choose a specific Kubernetes version for the control plane.
163163
</tr>
164164
<tr>
165165
<td></td><td style="line-height: 130%; word-wrap: break-word;">
166+
<p>
166167
<!--
167168
If true, keep the managedFields when printing objects in JSON or YAML format.
168169
-->
169-
<p>
170170
如果为 true,则在以 JSON 或 YAML 格式打印对象时保留 managedFields。
171171
</p>
172172
</td>
@@ -180,7 +180,7 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
180180
-->
181181
### 从父命令继承的选项
182182

183-
<table style="width: 100%; table-layout: fixed;">
183+
<table style="width: 100%; table-layout: fixed;">
184184
<colgroup>
185185
<col span="1" style="width: 10px;" />
186186
<col span="1" />
@@ -197,11 +197,12 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
197197
</tr>
198198
<tr>
199199
<td></td><td style="line-height: 130%; word-wrap: break-word;">
200+
<p>
200201
<!--
201202
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.
202203
-->
203-
<p>
204-
用于和集群通信的 kubeconfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 kubeconfig 文件。
204+
用于和集群通信的 kubeconfig 文件。如果它没有被设置,那么 kubeadm
205+
将会搜索一个已经存在于标准路径的 kubeconfig 文件。
205206
</p>
206207
</td>
207208
</tr>
@@ -211,10 +212,10 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
211212
</tr>
212213
<tr>
213214
<td></td><td style="line-height: 130%; word-wrap: break-word;">
215+
<p>
214216
<!--
215217
[EXPERIMENTAL] The path to the 'real' host root filesystem.
216218
-->
217-
<p>
218219
[实验] 到“真实”主机根文件系统的路径。
219220
</p>
220221
</td>

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_config/kubeadm_config_images_pull.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Pull images used by kubeadm.
1313
-->
1414
拉取 kubeadm 使用的镜像。
1515

16-
```
16+
```shell
1717
kubeadm config images pull [flags]
1818
```
1919

@@ -22,7 +22,7 @@ kubeadm config images pull [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" />
@@ -34,10 +34,10 @@ kubeadm config images pull [flags]
3434
</tr>
3535
<tr>
3636
<td></td><td style="line-height: 130%; word-wrap: break-word;">
37+
<p>
3738
<!--
3839
Path to a kubeadm configuration file.
3940
-->
40-
<p>
4141
kubeadm 配置文件的路径。
4242
</p>
4343
</td>
@@ -48,10 +48,10 @@ kubeadm 配置文件的路径。
4848
</tr>
4949
<tr>
5050
<td></td><td style="line-height: 130%; word-wrap: break-word;">
51+
<p>
5152
<!--
5253
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.
5354
-->
54-
<p>
5555
要连接的 CRI 套接字的路径。如果为空,则 kubeadm 将尝试自动检测此值;仅当安装了多个 CRI 或具有非标准 CRI 插槽时,才使用此选项。
5656
</p>
5757
</td>
@@ -62,20 +62,22 @@ Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this
6262
</tr>
6363
<tr>
6464
<td></td><td style="line-height: 130%; word-wrap: break-word;">
65+
<p>
6566
<!--
6667
A set of key=value pairs that describe feature gates for various features. Options are:<br/>
68+
ControlPlaneKubeletLocalMode=true|false (ALPHA - default=false)<br/>
6769
EtcdLearnerMode=true|false (BETA - default=true)<br/>
6870
PublicKeysECDSA=true|false (DEPRECATED - default=false)<br/>
6971
RootlessControlPlane=true|false (ALPHA - default=false)<br/>
70-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - default=false)<br/>
7172
WaitForAllControlPlaneComponents=true|false (ALPHA - default=false)
7273
-->
7374
一系列键值对(key=value),用于描述各种特性。可选项是:<br/>
75+
ControlPlaneKubeletLocalMode=true|false (ALPHA - 默认值=false)<br/>
7476
EtcdLearnerMode=true|false (BETA - 默认值=true)<br/>
7577
PublicKeysECDSA=true|false (DEPRECATED - 默认值=false)<br/>
7678
RootlessControlPlane=true|false (ALPHA - 默认值=false)<br/>
77-
UpgradeAddonsBeforeControlPlane=true|false (DEPRECATED - 默认值=false)<br/>
7879
WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
80+
</p>
7981
</td>
8082
</tr>
8183

@@ -84,10 +86,10 @@ WaitForAllControlPlaneComponents=true|false (ALPHA - 默认值=false)
8486
</tr>
8587
<tr>
8688
<td></td><td style="line-height: 130%; word-wrap: break-word;">
89+
<p>
8790
<!--
8891
help for pull
8992
-->
90-
<p>
9193
pull 操作的帮助命令。
9294
</p>
9395
</td>
@@ -103,10 +105,10 @@ pull 操作的帮助命令。
103105
</tr>
104106
<tr>
105107
<td></td><td style="line-height: 130%; word-wrap: break-word;">
108+
<p>
106109
<!--
107110
Choose a container registry to pull control plane images from
108111
-->
109-
<p>
110112
选择用于拉取控制平面镜像的容器仓库。
111113
</p>
112114
</td>
@@ -122,10 +124,10 @@ Choose a container registry to pull control plane images from
122124
</tr>
123125
<tr>
124126
<td></td><td style="line-height: 130%; word-wrap: break-word;">
127+
<p>
125128
<!--
126129
Choose a specific Kubernetes version for the control plane.
127130
-->
128-
<p>
129131
为控制平面选择一个特定的 Kubernetes 版本。
130132
</p>
131133
</td>
@@ -139,7 +141,7 @@ Choose a specific Kubernetes version for the control plane.
139141
-->
140142
### 从父命令继承的选项
141143

142-
<table style="width: 100%; table-layout: fixed;">
144+
<table style="width: 100%; table-layout: fixed;">
143145
<colgroup>
144146
<col span="1" style="width: 10px;" />
145147
<col span="1" />
@@ -156,11 +158,12 @@ Choose a specific Kubernetes version for the control plane.
156158
</tr>
157159
<tr>
158160
<td></td><td style="line-height: 130%; word-wrap: break-word;">
161+
<p>
159162
<!--
160163
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.
161164
-->
162-
<p>
163-
用于和集群通信的 kubeconfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 kubeconfig 文件。
165+
用于和集群通信的 kubeconfig 文件。如果它没有被设置,那么 kubeadm
166+
将会搜索一个已经存在于标准路径的 kubeconfig 文件。
164167
</p>
165168
</td>
166169
</tr>
@@ -170,11 +173,11 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
170173
</tr>
171174
<tr>
172175
<td></td><td style="line-height: 130%; word-wrap: break-word;">
176+
<p>
173177
<!--
174178
[EXPERIMENTAL] The path to the 'real' host root filesystem.
175179
-->
176-
<p>
177-
[实验] 到 '真实' 主机根文件系统的路径。
180+
[实验] 到'真实'主机根文件系统的路径。
178181
</p>
179182
</td>
180183
</tr>

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

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Generate all static Pod manifest files necessary to establish the control plane
99
### 概要
1010

1111
<!--
12-
This command is not meant to be run on its own. See list of available subcommands.
12+
Generate all static Pod manifest files necessary to establish the control plane
1313
-->
14-
此命令并非设计用来单独运行。请参阅可用子命令列表。
14+
生成建立控制平面所需的所有静态 Pod 的清单文件
1515

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

@@ -22,7 +22,7 @@ kubeadm init phase control-plane [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" />
@@ -34,10 +34,12 @@ kubeadm init phase control-plane [flags]
3434
</tr>
3535
<tr>
3636
<td></td><td style="line-height: 130%; word-wrap: break-word;">
37+
<p>
3738
<!--
38-
<p>help for control-plane</p>
39+
help for control-plane
3940
-->
40-
<p>control-plane 操作的帮助命令。</p>
41+
control-plane 操作的帮助命令。
42+
</p>
4143
</td>
4244
</tr>
4345

@@ -49,7 +51,7 @@ kubeadm init phase control-plane [flags]
4951
-->
5052
### 继承于父命令的选项
5153

52-
<table style="width: 100%; table-layout: fixed;">
54+
<table style="width: 100%; table-layout: fixed;">
5355
<colgroup>
5456
<col span="1" style="width: 10px;" />
5557
<col span="1" />
@@ -61,11 +63,12 @@ kubeadm init phase control-plane [flags]
6163
</tr>
6264
<tr>
6365
<td></td><td style="line-height: 130%; word-wrap: break-word;">
66+
<p>
6467
<!--
65-
<p>[EXPERIMENTAL] The path to the 'real' host root filesystem.</p>
68+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
6669
-->
67-
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
68-
</td>
70+
[实验] 到'真实'主机根文件系统的路径。
71+
</p>
6972
</td>
7073
</tr>
7174

0 commit comments

Comments
 (0)