Skip to content

Commit 1761282

Browse files
committed
[zh] Sync kubeadm-init files
1 parent bd661f0 commit 1761282

File tree

5 files changed

+22
-89
lines changed

5 files changed

+22
-89
lines changed

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-certs.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
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 content, 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-
121
<!--
132
Upload certificates to kubeadm-certs
143
-->
15-
将证书上传到 kubeadm-certs
4+
将证书上传到 kubeadm-certs
165

176
<!--
187
### Synopsis
@@ -22,7 +11,7 @@ Upload certificates to kubeadm-certs
2211
<!--
2312
Upload control plane certificates to the kubeadm-certs Secret
2413
-->
25-
将控制平面证书上传到 kubeadm-certs Secret
14+
将控制平面证书上传到 kubeadm-certs Secret
2615

2716
```
2817
kubeadm init phase upload-certs [flags]
@@ -91,7 +80,7 @@ Don't apply any changes; just output what would be done.
9180
help for upload-certs
9281
-->
9382
<p>
94-
upload-certs 操作的帮助命令
83+
upload-certs 操作的帮助命令
9584
</p>
9685
</td>
9786
</tr>

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
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 content, 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-
121
<!--
132
Upload the kubeadm and kubelet configuration to a ConfigMap
143
-->
15-
上传 kubeadm 和 kubelet 配置到 ConfigMap 中
4+
上传 kubeadm 和 kubelet 配置到 ConfigMap 中
165

176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
This command is not meant to be run on its own. See list of available subcommands.
2513
-->
26-
2714
此命令并非设计用来单独运行。请参阅可用的子命令列表。
2815

2916
```
@@ -33,7 +20,6 @@ kubeadm init phase upload-config [flags]
3320
<!--
3421
### Options
3522
-->
36-
3723
### 选项
3824

3925
<table style="width: 100%; table-layout: fixed;">
@@ -51,7 +37,7 @@ kubeadm init phase upload-config [flags]
5137
<!--
5238
<p>help for upload-config</p>
5339
-->
54-
<p>upload-config 操作的帮助命令</p>
40+
<p>upload-config 操作的帮助命令</p>
5541
</td>
5642
</tr>
5743

@@ -61,7 +47,6 @@ kubeadm init phase upload-config [flags]
6147
<!--
6248
### Options inherited from parent commands
6349
-->
64-
6550
### 从父命令中继承的选项
6651

6752
<table style="width: 100%; table-layout: fixed;">
@@ -85,4 +70,3 @@ kubeadm init phase upload-config [flags]
8570

8671
</tbody>
8772
</table>
88-

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_all.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,16 @@
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 content, 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-
131
<!--
142
Upload all configuration to a config map
153
-->
16-
将所有配置上传到 ConfigMap
4+
将所有配置上传到 ConfigMap
175

186
<!--
197
### Synopsis
208
-->
21-
229
### 概要
2310

2411
<!--
2512
Upload all configuration to a config map
2613
-->
27-
2814
将所有配置上传到 ConfigMap
2915

3016
```
@@ -34,7 +20,6 @@ kubeadm init phase upload-config all [flags]
3420
<!--
3521
### Options
3622
-->
37-
3823
### 选项
3924

4025
<table style="width: 100%; table-layout: fixed;">
@@ -101,7 +86,7 @@ help for all
10186
</p>
10287
-->
10388
<p>
104-
all 操作的帮助命令
89+
all 操作的帮助命令
10590
</p>
10691
</td>
10792
</tr>
@@ -135,7 +120,6 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
135120
<!--
136121
### Options inherited from parent commands
137122
-->
138-
139123
### 从父命令继承的选项
140124

141125
<table style="width: 100%; table-layout: fixed;">

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubeadm.md

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,22 @@
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 content, 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-
131
<!--
142
Upload the kubeadm ClusterConfiguration to a ConfigMap
153
-->
16-
将 kubeadm ClusterConfiguration 上传到 ConfigMap
4+
将 kubeadm ClusterConfiguration 上传到 ConfigMap。
5+
176
<!--
187
### Synopsis
198
-->
20-
219
### 概要
2210

2311
<!--
2412
Upload the kubeadm ClusterConfiguration to a ConfigMap called kubeadm-config in the kube-system namespace. This enables correct configuration of system components and a seamless user experience when upgrading.
2513
-->
26-
2714
将 kubeadm ClusterConfiguration 上传到 kube-system 命名空间中名为 kubeadm-config 的 ConfigMap 中。
2815
这样就可以正确配置系统组件,并在升级时提供无缝的用户体验。
2916

3017
<!--
3118
Alternatively, you can use kubeadm config.
3219
-->
33-
3420
另外,可以使用 kubeadm 配置。
3521

3622
```
@@ -40,13 +26,11 @@ kubeadm init phase upload-config kubeadm [flags]
4026
<!--
4127
### Examples
4228
-->
43-
4429
### 示例
4530

4631
<!--
4732
# upload the configuration of your cluster
4833
-->
49-
5034
```
5135
# 上传集群配置
5236
kubeadm init phase upload-config --config=myConfig.yaml
@@ -55,7 +39,6 @@ kubeadm init phase upload-config --config=myConfig.yaml
5539
<!--
5640
### Options
5741
-->
58-
5942
### 选项
6043

6144
<table style="width: 100%; table-layout: fixed;">
@@ -117,7 +100,7 @@ Don't apply any changes; just output what would be done.
117100
help for kubeadm
118101
-->
119102
<p>
120-
kubeadm 操作的帮助命令
103+
kubeadm 操作的帮助命令
121104
</p>
122105
</td>
123106
</tr>
@@ -147,7 +130,6 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
147130
<!--
148131
### Options inherited from parent commands
149132
-->
150-
151133
### 从父命令继承的选项
152134

153135
<table style="width: 100%; table-layout: fixed;">

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubelet.md

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,7 @@
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 content, 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-
131
<!--
142
Upload the kubelet component config to a ConfigMap
153
-->
16-
将 kubelet 组件配置上传到 ConfigMap
4+
将 kubelet 组件配置上传到 ConfigMap
175

186
<!--
197
### Synopsis
@@ -63,7 +51,9 @@ kubeadm init phase upload-config kubelet --config kubeadm.yaml
6351
</tr>
6452
<tr>
6553
<td></td><td style="line-height: 130%; word-wrap: break-word;">
66-
<!-- Path to a kubeadm configuration file. -->
54+
<!--
55+
Path to a kubeadm configuration file.
56+
-->
6757
<p>
6858
到 kubeadm 配置文件的路径。
6959
</p>
@@ -104,9 +94,11 @@ Don't apply any changes; just output what would be done.
10494
</tr>
10595
<tr>
10696
<td></td><td style="line-height: 130%; word-wrap: break-word;">
107-
<!-- help for kubelet -->
97+
<!--
98+
help for kubelet
99+
-->
108100
<p>
109-
kubelet 操作的帮助命令
101+
kubelet 操作的帮助命令
110102
</p>
111103
</td>
112104
</tr>
@@ -145,11 +137,13 @@ The kubeconfig file to use when talking to the cluster. If the flag is not set,
145137
<td colspan="2">--rootfs string</td>
146138
</tr>
147139
<tr>
148-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><!--[EXPERIMENTAL] The path to the 'real' host root filesystem. -->
140+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
141+
<!--
142+
[EXPERIMENTAL] The path to the 'real' host root filesystem.
143+
-->
149144
<p>[实验] 到 '真实' 主机根文件系统的路径。</p>
150145
</td>
151146
</tr>
152147

153148
</tbody>
154149
</table>
155-

0 commit comments

Comments
 (0)