Skip to content

Commit 430ce52

Browse files
authored
Merge pull request #43337 from windsonsea/adminyh
[zh] Clean up kubeadm_init_phase_kubeconfig files
2 parents ca6a7ce + 45644aa commit 430ce52

6 files changed

+13
-106
lines changed

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

Lines changed: 1 addition & 17 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
Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file
143
-->
15-
生成所有建立控制平面和管理员(admin)所需的 kubeconfig 文件
4+
生成所有建立控制平面和管理员(admin)所需的 kubeconfig 文件
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 kubeconfig [flags]
3320
<!--
3421
### Options
3522
-->
36-
3723
### 选项
3824

3925
<table style="width: 100%; table-layout: fixed;">
@@ -61,7 +47,6 @@ kubeadm init phase kubeconfig [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 kubeconfig [flags]
8570

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

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_kubeconfig_admin.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
Generate a kubeconfig file for the admin to use and for kubeadm itself
143
-->
15-
为管理员(admin)和 kubeadm 本身生成 kubeconfig 文件
4+
为管理员(admin)和 kubeadm 本身生成 kubeconfig 文件
165

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

2311
<!--
2412
Generate the kubeconfig file for the admin and for kubeadm itself, and save it to admin.conf file.
2513
-->
26-
2714
为管理员和 kubeadm 本身生成 kubeconfig 文件,并将其保存到 admin.conf 文件中。
2815

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

3925
<table style="width: 100%; table-layout: fixed;">
@@ -135,7 +121,7 @@ Don't apply any changes; just output what would be done.
135121
<!--
136122
<p>help for admin</p>
137123
-->
138-
<p>admin 操作的帮助命令</p>
124+
<p>admin 操作的帮助命令</p>
139125
</td>
140126
</tr>
141127

@@ -179,7 +165,6 @@ Don't apply any changes; just output what would be done.
179165
<!--
180166
### Options inherited from parent commands
181167
-->
182-
183168
### 继承于父命令的选项
184169

185170
<table style="width: 100%; table-layout: fixed;">
@@ -203,4 +188,3 @@ Don't apply any changes; just output what would be done.
203188

204189
</tbody>
205190
</table>
206-

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

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,17 @@
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
Generate all kubeconfig files
143
-->
15-
生成所有 kubeconfig 文件
4+
生成所有 kubeconfig 文件
165

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

2311
<!--
2412
Generate all kubeconfig files
2513
-->
26-
生成所有 kubeconfig 文件
14+
生成所有 kubeconfig 文件
2715

2816
```
2917
kubeadm init phase kubeconfig all [flags]
@@ -32,7 +20,6 @@ kubeadm init phase kubeconfig all [flags]
3220
<!--
3321
### Options
3422
-->
35-
3623
### 选项
3724

3825
<table style="width: 100%; table-layout: fixed;">
@@ -145,7 +132,7 @@ Don't apply any changes; just output what would be done.
145132
help for all
146133
-->
147134
<p>
148-
all 操作的帮助命令
135+
all 操作的帮助命令
149136
</p>
150137
</td>
151138
</tr>

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_kubeconfig_controller-manager.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
Generate a kubeconfig file for the controller manager to use
143
-->
15-
生成控制器管理器要使用的 kubeconfig 文件
4+
生成控制器管理器要使用的 kubeconfig 文件
165

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

2311
<!--
2412
Generate the kubeconfig file for the controller manager to use and save it to controller-manager.conf file
2513
-->
26-
2714
生成控制器管理器要使用的 kubeconfig 文件,并保存到 controller-manager.conf 文件中。
2815

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

3925
<table style="width: 100%; table-layout: fixed;">
@@ -133,7 +119,7 @@ kubeadm init phase kubeconfig controller-manager [flags]
133119
<!--
134120
<p>help for controller-manager</p>
135121
-->
136-
<p>controller-manager 操作的帮助命令</p>
122+
<p>controller-manager 操作的帮助命令</p>
137123
</td>
138124
</tr>
139125

@@ -176,7 +162,6 @@ kubeadm init phase kubeconfig controller-manager [flags]
176162
<!--
177163
### Options inherited from parent commands
178164
-->
179-
180165
### 继承于父命令的选项
181166

182167
<table style="width: 100%; table-layout: fixed;">
@@ -200,4 +185,3 @@ kubeadm init phase kubeconfig controller-manager [flags]
200185

201186
</tbody>
202187
</table>
203-

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

Lines changed: 3 additions & 19 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
Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes
143
-->
15-
为 kubelet 生成一个 kubeconfig 文件,*仅仅*用于集群引导目的
4+
为 kubelet 生成一个 kubeconfig 文件,**仅仅**用于集群引导目的
165

176
<!--
187
### Synopsis
@@ -22,14 +11,12 @@ Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrappi
2211
<!--
2312
Generate the kubeconfig file for the kubelet to use and save it to kubelet.conf file.
2413
-->
25-
2614
生成 kubelet 要使用的 kubeconfig 文件,并将其保存到 kubelet.conf 文件。
2715

2816
<!--
2917
Please note that this should *only* be used for cluster bootstrapping purposes. After your control plane is up, you should request all kubelet credentials from the CSR API.
3018
-->
31-
32-
请注意,该操作目的是**应用于引导集群。在控制平面启动之后,应该从 CSR API 请求所有 kubelet 凭据。
19+
请注意,该操作目的是****用于引导集群。在控制平面启动之后,应该从 CSR API 请求所有 kubelet 凭据。
3320

3421
```
3522
kubeadm init phase kubeconfig kubelet [flags]
@@ -38,7 +25,6 @@ kubeadm init phase kubeconfig kubelet [flags]
3825
<!--
3926
### Options
4027
-->
41-
4228
### 选项
4329

4430
<table style="width: 100%; table-layout: fixed;">
@@ -138,7 +124,7 @@ kubeadm init phase kubeconfig kubelet [flags]
138124
<!--
139125
<p>help for kubelet</p>
140126
-->
141-
<p>kubelet 操作的帮助命令</p>
127+
<p>kubelet 操作的帮助命令</p>
142128
</td>
143129
</tr>
144130

@@ -194,7 +180,6 @@ kubeadm init phase kubeconfig kubelet [flags]
194180
<!--
195181
### Options inherited from parent commands
196182
-->
197-
198183
### 继承于父命令的选项
199184

200185
<table style="width: 100%; table-layout: fixed;">
@@ -218,4 +203,3 @@ kubeadm init phase kubeconfig kubelet [flags]
218203

219204
</tbody>
220205
</table>
221-

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_kubeconfig_scheduler.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
Generate a kubeconfig file for the scheduler to use
143
-->
15-
生成调度器使用的 kubeconfig 文件
4+
生成调度器使用的 kubeconfig 文件
165

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

2311
<!--
2412
Generate the kubeconfig file for the scheduler to use and save it to scheduler.conf file.
2513
-->
26-
2714
生成调度器(scheduler)要使用的 kubeconfig 文件,并保存到 scheduler.conf 文件中。
2815

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

3925
<table style="width: 100%; table-layout: fixed;">
@@ -135,7 +121,7 @@ Don't apply any changes; just output what would be done.
135121
<!--
136122
<p>help for scheduler</p>
137123
-->
138-
<p>scheduler 操作的帮助命令</p>
124+
<p>scheduler 操作的帮助命令</p>
139125
</td>
140126
</tr>
141127

@@ -179,7 +165,6 @@ Don't apply any changes; just output what would be done.
179165
<!--
180166
### Options inherited from parent commands
181167
-->
182-
183168
### 继承于父命令的选项
184169

185170
<table style="width: 100%; table-layout: fixed;">
@@ -203,4 +188,3 @@ Don't apply any changes; just output what would be done.
203188

204189
</tbody>
205190
</table>
206-

0 commit comments

Comments
 (0)