Skip to content

Commit 5773d84

Browse files
authored
Merge pull request #43507 from windsonsea/admyh
[zh] Clean up kubeadm_init_phase files
2 parents 0082100 + cab2a65 commit 5773d84

File tree

5 files changed

+25
-97
lines changed

5 files changed

+25
-97
lines changed

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_certs.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
Certificate generation
143
-->
15-
证书生成
4+
证书生成
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 certs [flags]
3320
<!--
3421
### Options
3522
-->
36-
3723
### 选项
3824

3925
<table style="width: 100%; table-layout: fixed;">
@@ -52,7 +38,7 @@ kubeadm init phase certs [flags]
5238
help for certs
5339
-->
5440
<p>
55-
certs 操作的帮助命令
41+
certs 操作的帮助命令
5642
</p>
5743
</td>
5844
</tr>
@@ -63,7 +49,6 @@ certs 操作的帮助命令
6349
<!--
6450
### Options inherited from parent commands
6551
-->
66-
6752
### 从父指令中继承的选项
6853

6954
<table style="width: 100%; table-layout: fixed;">
@@ -89,4 +74,3 @@ certs 操作的帮助命令
8974

9075
</tbody>
9176
</table>
92-

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

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
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
Generate a private key for signing service account tokens along with its public key
153
-->
16-
生成用来签署服务账号令牌的私钥及其公钥
4+
生成用来签署服务账号令牌的私钥及其公钥
175

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

2411
<!--
@@ -30,7 +17,7 @@ Generate the private key for signing service account tokens along with its publi
3017
<!--
3118
Alpha Disclaimer: this command is currently alpha.
3219
-->
33-
Alpha 免责声明:此命令当前为 alpha 阶段。
20+
Alpha 免责声明:此命令当前为 Alpha 阶段。
3421

3522
```
3623
kubeadm init phase certs sa [flags]
@@ -39,7 +26,6 @@ kubeadm init phase certs sa [flags]
3926
<!--
4027
### Options
4128
-->
42-
4329
### 选项
4430

4531
<table style="width: 100%; table-layout: fixed;">
@@ -77,7 +63,7 @@ The path where to save and store the certificates.
7763
help for sa
7864
-->
7965
<p>
80-
sa 操作的帮助命令
66+
sa 操作的帮助命令
8167
</p>
8268
</td>
8369
</tr>

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_control-plane.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 all static Pod manifest files necessary to establish the control plane
143
-->
15-
生成建立控制平面所需的静态 Pod 清单文件
4+
生成建立控制平面所需的静态 Pod 清单文件
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 control-plane [flags]
3320
<!--
3421
### Options
3522
-->
36-
3723
### 选项
3824

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

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

6752
<table style="width: 100%; table-layout: fixed;">
@@ -86,4 +71,3 @@ kubeadm init phase control-plane [flags]
8671

8772
</tbody>
8873
</table>
89-

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

Lines changed: 5 additions & 20 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
Generate static Pod manifest file for local etcd
153
-->
16-
为本地 etcd 生成静态 Pod 的清单文件
4+
为本地 etcd 生成静态 Pod 的清单文件
175

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

2411
<!--
2512
This command is not meant to be run on its own. See list of available subcommands.
2613
-->
27-
2814
此命令并非设计用来单独运行。请参阅可用子命令列表。
2915

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

4025
<table style="width: 100%; table-layout: fixed;">
@@ -50,8 +35,10 @@ kubeadm init phase etcd [flags]
5035
<tr>
5136
<td></td><td style="line-height: 130%; word-wrap: break-word;">
5237
<p>
53-
<!-- help for etcd -->
54-
etcd 操作的帮助命令
38+
<!--
39+
help for etcd
40+
-->
41+
etcd 操作的帮助命令。
5542
</p>
5643
</td>
5744
</tr>
@@ -62,7 +49,6 @@ etcd 操作的帮助命令
6249
<!--
6350
### Options inherited from parent commands
6451
-->
65-
6652
### 继承于父命令的选项
6753

6854
<table style="width: 100%; table-layout: fixed;">
@@ -88,4 +74,3 @@ etcd 操作的帮助命令
8874

8975
</tbody>
9076
</table>
91-

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

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +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 the static Pod manifest file for a local, single-node local etcd instance
143
-->
15-
为本地单节点 etcd 实例生成静态 Pod 清单文件
4+
为本地单节点 etcd 实例生成静态 Pod 清单文件
165

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

2311
<!--
2412
Generate the static Pod manifest file for a local, single-node local etcd instance
2513
-->
26-
27-
为本地单节点 etcd 实例生成静态 Pod 清单文件
14+
为本地单节点 etcd 实例生成静态 Pod 清单文件。
2815

2916
```
3017
kubeadm init phase etcd local [flags]
@@ -33,14 +20,18 @@ kubeadm init phase etcd local [flags]
3320
<!--
3421
### Examples
3522
-->
36-
3723
### 示例
3824

3925
<!--
40-
# Generates the static Pod manifest file for etcd, functionally
41-
# equivalent to what is generated by kubeadm init.
42-
# Generates the static Pod manifest file for etcd using options
43-
# read from a configuration file.
26+
```
27+
# Generates the static Pod manifest file for etcd, functionally
28+
# equivalent to what is generated by kubeadm init.
29+
kubeadm init phase etcd local
30+
31+
# Generates the static Pod manifest file for etcd using options
32+
# read from a configuration file.
33+
kubeadm init phase etcd local --config config.yaml
34+
```
4435
-->
4536

4637
```
@@ -54,7 +45,6 @@ kubeadm init phase etcd local --config config.yaml
5445
<!--
5546
### Options
5647
-->
57-
5848
### 选项
5949

6050
<table style="width: 100%; table-layout: fixed;">
@@ -113,7 +103,7 @@ kubeadm init phase etcd local --config config.yaml
113103
<!--
114104
<p>help for local</p>
115105
-->
116-
<p>local 操作的帮助命令</p>
106+
<p>local 操作的帮助命令</p>
117107
</td>
118108
</tr>
119109

@@ -130,7 +120,7 @@ kubeadm init phase etcd local --config config.yaml
130120
<!--
131121
<p>Choose a container registry to pull control plane images from</p>
132122
-->
133-
<p>选择要从中拉取控制平面镜像的容器仓库</p>
123+
<p>选择要从中拉取控制平面镜像的容器仓库</p>
134124
</td>
135125
</tr>
136126

@@ -159,7 +149,6 @@ kubeadm init phase etcd local --config config.yaml
159149
<!--
160150
### Options inherited from parent commands
161151
-->
162-
163152
### 继承于父命令的选项
164153

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

0 commit comments

Comments
 (0)