Skip to content

Commit d0fdb1c

Browse files
authored
Merge pull request #33577 from kinzhi/kinzhi99
[zh]Sync kubeadm-5
2 parents 94e1003 + c6c0e8d commit d0fdb1c

8 files changed

+132
-42
lines changed

content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_kubelet-start.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,3 @@ kubeadm init phase kubelet-start [flags]
8888

8989
</tbody>
9090
</table>
91-
92-
93-

content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_join_phase_control-plane-prepare.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,3 @@ kubeadm join phase control-plane-prepare [flags]
6767

6868
</tbody>
6969
</table>
70-
71-
72-

content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_join_phase_control-plane-prepare_all.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,3 @@ kubeadm join phase control-plane-prepare all [api-server-endpoint] [flags]
151151

152152
</tbody>
153153
</table>
154-
155-
156-

content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_upgrade_diff.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,3 @@ kubeadm upgrade diff [version] [flags]
102102

103103
</tbody>
104104
</table>
105-
106-
107-

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_kubelet-start.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
13+
<!--
14+
Write kubelet settings and (re)start the kubelet
15+
-->
16+
编写 kubelet 配置并(重新)启动 kubelet
117

218
<!--
319
### Synopsis
@@ -51,7 +67,9 @@ kubeadm init phase kubelet-start --config config.yaml
5167
<!--
5268
Path to a kubeadm configuration file.
5369
-->
70+
<p>
5471
kubeadm 配置文件的路径。
72+
</p>
5573
</td>
5674
</tr>
5775

@@ -63,7 +81,9 @@ kubeadm 配置文件的路径。
6381
<!--
6482
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.
6583
-->
84+
<p>
6685
连接到 CRI 套接字的路径。如果为空,则 kubeadm 将尝试自动检测该值;仅当安装了多个 CRI 或具有非标准 CRI 套接字时,才使用此选项。
86+
</p>
6787
</td>
6888
</tr>
6989

@@ -75,7 +95,9 @@ Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this
7595
<!--
7696
help for kubelet-start
7797
-->
98+
<p>
7899
kubelet-start 操作的帮助命令
100+
</p>
79101
</td>
80102
</tr>
81103

@@ -87,7 +109,9 @@ kubelet-start 操作的帮助命令
87109
<!--
88110
Specify the node name.
89111
-->
112+
<p>
90113
指定节点名称。
114+
</p>
91115
</td>
92116
</tr>
93117

@@ -115,10 +139,11 @@ Specify the node name.
115139
<!--
116140
[EXPERIMENTAL] The path to the 'real' host root filesystem.
117141
-->
142+
<p>
118143
[实验] 到 '真实' 主机根文件系统的路径。
144+
</p>
119145
</td>
120146
</tr>
121147

122148
</tbody>
123149
</table>
124-

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_join_phase_control-plane-prepare.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
13+
<!--
14+
Prepare the machine for serving a control plane
15+
-->
16+
准备为控制平面服务的机器
117

218
<!--
319
### Synopsis
@@ -50,7 +66,9 @@ kubeadm join phase control-plane-prepare all
5066
<!--
5167
help for control-plane-prepare
5268
-->
69+
<p>
5370
control-plane-prepare 操作的帮助命令
71+
</p>
5472
</td>
5573
</tr>
5674

@@ -78,10 +96,11 @@ control-plane-prepare 操作的帮助命令
7896
<!--
7997
[EXPERIMENTAL] The path to the 'real' host root filesystem.
8098
-->
99+
<p>
81100
[实验] 指向 '真实' 宿主机根文件系统的路径。
101+
</p>
82102
</td>
83103
</tr>
84104

85105
</tbody>
86106
</table>
87-

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_join_phase_control-plane-prepare_all.md

Lines changed: 62 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
<!--
2+
The file is auto-generated from the Go source code of the component using a generic
3+
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
4+
to generate the reference documentation, please read
5+
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
6+
To update the reference conent, please follow the
7+
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
8+
guide. You can file document formatting bugs against the
9+
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
10+
-->
11+
12+
13+
<!--
14+
Prepare the machine for serving a control plane
15+
-->
16+
准备为控制平面服务的机器
117

218
<!--
319
### Synopsis
@@ -36,7 +52,9 @@ kubeadm join phase control-plane-prepare all [api-server-endpoint] [flags]
3652
<!--
3753
If the node should host a new control plane instance, the IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
3854
-->
55+
<p>
3956
如果该节点托管一个新的控制平面实例,则 API 服务器将公布其正在侦听的 IP 地址。如果未设置,则使用默认网络接口。
57+
</p>
4058
</td>
4159
</tr>
4260

@@ -53,7 +71,9 @@ If the node should host a new control plane instance, the IP address the API Ser
5371
<!--
5472
If the node should host a new control plane instance, the port for the API Server to bind to.
5573
-->
74+
<p>
5675
如果该节点托管一个新的控制平面实例,则为 API 服务器要绑定的端口。
76+
</p>
5777
</td>
5878
</tr>
5979

@@ -65,7 +85,9 @@ If the node should host a new control plane instance, the port for the API Serve
6585
<!--
6686
Use this key to decrypt the certificate secrets uploaded by init.
6787
-->
88+
<p>
6889
使用此密钥解密由 init 上传的证书 secrets。
90+
</p>
6991
</td>
7092
</tr>
7193

@@ -77,7 +99,9 @@ Use this key to decrypt the certificate secrets uploaded by init.
7799
<!--
78100
Path to kubeadm config file.
79101
-->
102+
<p>
80103
kubeadm 配置文件的路径。
104+
</p>
81105
</td>
82106
</tr>
83107

@@ -89,7 +113,9 @@ kubeadm 配置文件的路径。
89113
<!--
90114
Create a new control plane instance on this node
91115
-->
116+
<p>
92117
在此节点上创建一个新的控制平面实例
118+
</p>
93119
</td>
94120
</tr>
95121

@@ -101,7 +127,9 @@ Create a new control plane instance on this node
101127
<!--
102128
For file-based discovery, a file or URL from which to load cluster information.
103129
-->
130+
<p>
104131
对于基于文件的发现,给出用于加载集群信息的文件或者 URL。
132+
</p>
105133
</td>
106134
</tr>
107135

@@ -113,19 +141,23 @@ For file-based discovery, a file or URL from which to load cluster information.
113141
<!--
114142
For token-based discovery, the token used to validate cluster information fetched from the API server.
115143
-->
144+
<p>
116145
对于基于令牌的发现,该令牌用于验证从 API 服务器获取的集群信息。
146+
</p>
117147
</td>
118148
</tr>
119149

120150
<tr>
121-
<td colspan="2">--discovery-token-ca-cert-hash stringSlice</td>
151+
<td colspan="2">--discovery-token-ca-cert-hash strings</td>
122152
</tr>
123153
<tr>
124154
<td></td><td style="line-height: 130%; word-wrap: break-word;">
125155
<!--
126156
For token-based discovery, validate that the root CA public key matches this hash (format: "&lt;type&gt;:&lt;value&gt;").
127157
-->
158+
<p>
128159
对于基于令牌的发现,请验证根 CA 公钥是否匹配此哈希值(格式:"&lt;type&gt;:&lt;value&gt;")。
160+
</p>
129161
</td>
130162
</tr>
131163

@@ -137,47 +169,54 @@ For token-based discovery, validate that the root CA public key matches this has
137169
<!--
138170
For token-based discovery, allow joining without --discovery-token-ca-cert-hash pinning.
139171
-->
172+
<p>
140173
对于基于令牌的发现,允许在未关联 --discovery-token-ca-cert-hash 参数的情况下添加节点。
174+
</p>
141175
</td>
142176
</tr>
143177

144178
<tr>
145-
<td colspan="2">--experimental-patches string</td>
179+
<td colspan="2">-h, --help</td>
146180
</tr>
147181
<tr>
148182
<td></td><td style="line-height: 130%; word-wrap: break-word;">
149-
<!--
150-
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.
183+
<!--
184+
help for all
151185
-->
152-
包含名为 "target[suffix][+patchtype].extension" 的文件的目录的路径。
153-
例如,"kube-apiserver0+merge.yaml" 或仅仅是 "etcd.json"。
154-
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,并且它们与 kubectl 支持的补丁格式匹配。
155-
默认的 "patchtype" 为 "strategic"。 "extension" 必须为 "json" 或 "yaml"。
156-
"suffix" 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
186+
all 操作的帮助命令
157187
</td>
158188
</tr>
159189

160190
<tr>
161-
<td colspan="2">-h, --help</td>
191+
<td colspan="2">--node-name string</td>
162192
</tr>
163193
<tr>
164194
<td></td><td style="line-height: 130%; word-wrap: break-word;">
165195
<!--
166-
help for all
196+
Specify the node name.
167197
-->
168-
all 操作的帮助命令
198+
<p>
199+
指定节点名称。
200+
</p>
169201
</td>
170202
</tr>
171203

172204
<tr>
173-
<td colspan="2">--node-name string</td>
205+
<td colspan="2">--patches string</td>
174206
</tr>
175207
<tr>
176208
<td></td><td style="line-height: 130%; word-wrap: break-word;">
177-
<!--
178-
Specify the node name.
209+
<!--
210+
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.
179211
-->
180-
指定节点名称。
212+
<p>
213+
包含名为 “target[suffix][+patchtype].extension” 的文件的目录的路径。
214+
例如,“kube-apiserver0+merge.yaml” 或只是 “etcd.json”。
215+
“target” 可以是 “kube-apiserver”、“kube-controller-manager”、“kube-scheduler”、“etcd” 之一。
216+
“patchtype” 可以是 “strategic”、“merge” 或 “json”,它们匹配 kubectl 支持的补丁格式。
217+
默认的 “patchtype” 是 “strategic”。“extension” 必须是 “json” 或 “yaml”。
218+
“suffix” 是一个可选字符串,可用于基于字母数字顺序确定首先应用哪些补丁。
219+
</p>
181220
</td>
182221
</tr>
183222

@@ -189,7 +228,9 @@ Specify the node name.
189228
<!--
190229
Specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.
191230
-->
231+
<p>
192232
指定在加入节点时用于临时通过 Kubernetes 控制平面进行身份验证的令牌。
233+
</p>
193234
</td>
194235
</tr>
195236

@@ -201,17 +242,19 @@ Specify the token used to temporarily authenticate with the Kubernetes Control P
201242
<!--
202243
Use this token for both discovery-token and tls-bootstrap-token when those values are not provided.
203244
-->
245+
<p>
204246
如果未提供这些值,则将它们用于 discovery-token 令牌和 tls-bootstrap 令牌。
247+
</p>
205248
</td>
206249
</tr>
207250

208251
</tbody>
209252
</table>
210253

254+
211255
<!--
212256
### Options inherited from parent commands
213257
-->
214-
215258
### 从父命令继承的选项
216259

217260
<table style="width: 100%; table-layout: fixed;">
@@ -229,10 +272,11 @@ Use this token for both discovery-token and tls-bootstrap-token when those value
229272
<!--
230273
[EXPERIMENTAL] The path to the 'real' host root filesystem.
231274
-->
275+
<p>
232276
[实验] 指向 '真实' 宿主机根文件系统的路径。
277+
</p>
233278
</td>
234279
</tr>
235280

236281
</tbody>
237282
</table>
238-

0 commit comments

Comments
 (0)