Skip to content

Commit 1999dff

Browse files
committed
[zh] Clean up kubeadm_certs files
1 parent eb1ead1 commit 1999dff

File tree

7 files changed

+30
-106
lines changed

7 files changed

+30
-106
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--
22
Commands related to handling kubernetes certificates
33
-->
4-
处理 Kubernetes 证书的相关命令
4+
处理 Kubernetes 证书的相关命令
55

66
<!--
77
### Synopsis
@@ -11,7 +11,7 @@ Commands related to handling kubernetes certificates
1111
<!--
1212
Commands related to handling kubernetes certificates
1313
-->
14-
处理 Kubernetes 证书相关的命令
14+
处理 Kubernetes 证书相关的命令
1515

1616
```
1717
kubeadm certs [flags]
@@ -34,7 +34,12 @@ kubeadm certs [flags]
3434
</tr>
3535
<tr>
3636
<!-- td></td><td style="line-height: 130%; word-wrap: break-word;"><p>help for certs</p></td -->
37-
<td></td><td style="line-height: 130%; word-wrap: break-word;"><!-- help for certs--><p>certs 命令的帮助</p></td>
37+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
38+
<!--
39+
help for certs
40+
-->
41+
<p>certs 操作的帮助命令。</p>
42+
</td>
3843
</tr>
3944

4045
</tbody>
@@ -62,5 +67,3 @@ kubeadm certs [flags]
6267

6368
</tbody>
6469
</table>
65-
66-

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
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
Renew certificates for a Kubernetes cluster
143
-->
@@ -86,4 +75,3 @@ renew 操作的帮助命令
8675

8776
</tbody>
8877
</table>
89-

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

Lines changed: 3 additions & 15 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
Renew the certificate for etcd nodes to communicate with each other
153
-->
16-
续订 etcd 节点间用来相互通信的证书
4+
续订 etcd 节点间用来相互通信的证书
175

186
<!--
197
### Synopsis
@@ -39,7 +27,7 @@ Renewal by default tries to use the certificate authority in the local PKI manag
3927
<!--
4028
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
4129
-->
42-
续订后,为了使更改生效,需要重新启动控制平面组件,并最终重新分发更新的证书,以防证书文件在其他地方使用。
30+
续订后,为了使更改生效,需要重新启动控制平面组件,并最终重新分发续订的证书,以防证书文件在其他地方使用。
4331

4432
```
4533
kubeadm certs renew etcd-peer [flags]
@@ -98,7 +86,7 @@ kubeadm 配置文件的路径。
9886
<!--
9987
help for etcd-peer
10088
-->
101-
etcd-peer 操作的帮助命令
89+
etcd-peer 操作的帮助命令
10290
</td>
10391
</tr>
10492

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_certs_renew_etcd-server.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
Renew the certificate for serving etcd
143
-->
15-
续订用于提供 etcd 服务的证书
4+
续订用于提供 etcd 服务的证书
165

176
<!--
187
### Synopsis
@@ -38,7 +27,7 @@ Renewal by default tries to use the certificate authority in the local PKI manag
3827
<!--
3928
After renewal, in order to make changes effective, is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
4029
-->
41-
续订后,为了使更改生效,需要重新启动控制平面组件,并最终重新分发更新的证书,以防文件在其他地方使用。
30+
续订后,为了使更改生效,需要重新启动控制平面组件,并最终重新分发续订的证书,以防文件在其他地方使用。
4231

4332
```
4433
kubeadm certs renew etcd-server [flags]
@@ -98,7 +87,7 @@ kubeadm 配置文件的路径。
9887
help for etcd-server
9988
-->
10089
<p>
101-
etcd-server 操作的帮助命令
90+
etcd-server 操作的帮助命令
10291
</p>
10392
</td>
10493
</tr>

content/zh-cn/docs/reference/setup-tools/kubeadm/generated/kubeadm_certs_renew_front-proxy-client.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
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
Renew the certificate for the front proxy client
143
-->
@@ -33,7 +22,7 @@ Renewals run unconditionally, regardless of certificate expiration date; extra a
3322
Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
3423
-->
3524
默认情况下,续订尝试使用位于 kubeadm 所管理的本地 PKI 中的证书颁发机构;作为替代方案,
36-
也可以使用 K8s 证书 API 进行证书续订;亦或者,作为最后一种方案,生成 CSR 请求。
25+
也可以使用 K8s certificate API 进行证书续订;亦或者,作为最后一种方案,生成 CSR 请求。
3726

3827
<!--
3928
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
@@ -89,7 +78,7 @@ kubeadm certs renew front-proxy-client [flags]
8978
<!--
9079
<p>help for front-proxy-client</p>
9180
-->
92-
<p>front-proxy-client 操作的帮助命令</p>
81+
<p>front-proxy-client 操作的帮助命令</p>
9382
</td>
9483
</tr>
9584

@@ -119,7 +108,7 @@ kubeadm certs renew front-proxy-client [flags]
119108
<!--
120109
Use the Kubernetes certificate API to renew certificates
121110
-->
122-
使用 Kubernetes 证书 API 续订证书
111+
使用 Kubernetes certificate API 续订证书
123112
</td>
124113
</tr>
125114

@@ -152,4 +141,3 @@ Use the Kubernetes certificate API to renew certificates
152141

153142
</tbody>
154143
</table>
155-

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

Lines changed: 3 additions & 15 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
Renew the certificate embedded in the kubeconfig file for the scheduler manager to use
143
-->
15-
续订 kubeconfig 文件中嵌入的证书,以供调度管理器使用
4+
续订 kubeconfig 文件中嵌入的证书,以供调度管理器使用
165

176
<!--
187
### Synopsis
@@ -33,7 +22,7 @@ Renewals run unconditionally, regardless of certificate expiration date; extra a
3322
Renewal by default tries to use the certificate authority in the local PKI managed by kubeadm; as alternative it is possible to use K8s certificate API for certificate renewal, or as a last option, to generate a CSR request.
3423
-->
3524
默认情况下,续订会尝试使用在 kubeadm 所管理的本地 PKI 中的证书颁发机构;作为替代方案,
36-
也可以使用 K8s 证书 API 进行证书续订;亦或者,作为最后一种选择,生成 CSR 请求。
25+
也可以使用 K8s certificate API 进行证书续订;亦或者,作为最后一种选择,生成 CSR 请求。
3726

3827
<!--
3928
After renewal, in order to make changes effective, is is required to restart control-plane components and eventually re-distribute the renewed certificate in case the file is used elsewhere.
@@ -93,7 +82,7 @@ kubeadm certs renew scheduler.conf [flags]
9382
<!--
9483
<p>help for scheduler.conf</p>
9584
-->
96-
<p>scheduler.conf 操作的帮助命令</p>
85+
<p>scheduler.conf 操作的帮助命令</p>
9786
</td>
9887
</tr>
9988

@@ -144,4 +133,3 @@ kubeadm certs renew scheduler.conf [flags]
144133

145134
</tbody>
146135
</table>
147-

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

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +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-
121
<!--
132
Output shell completion code for the specified shell (bash or zsh)
143
-->
15-
为指定 Shell(BashZsh) 输出 Shell 补全代码
4+
为指定的 shell(bashzsh)输出 shell 补全代码
165

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

2311
<!--
@@ -26,15 +14,13 @@ The shell code must be evaluated to provide interactive
2614
completion of kubeadm commands. This can be done by sourcing it from
2715
the .bash_profile.
2816
-->
29-
30-
为指定的 shell(bash 或 zsh)输出 shell 自动补全代码。
17+
为指定的 shell(bash 或 zsh)输出 shell 补全代码。
3118
必须激活 shell 代码以提供交互式 kubeadm 命令补全。这可以通过加载 .bash_profile 文件完成。
3219

3320
<!--
3421
Note: this requires the bash-completion framework.
3522
-->
36-
37-
注意: 此功能依赖于 `bash-completion` 框架。
23+
注意:此功能依赖于 `bash-completion` 框架。
3824

3925
<!--
4026
To install it on Mac use homebrew:
@@ -43,14 +29,13 @@ Once installed, bash_completion must be evaluated. This can be done by adding th
4329
following line to the .bash_profile
4430
$ source $(brew --prefix)/etc/bash_completion
4531
-->
46-
47-
在 Mac 上使用 homebrew 安装:
32+
在 Mac 上使用 homebrew 安装:
4833

4934
```
5035
brew install bash-completion
5136
```
5237

53-
安装后,必须激活 bash_completion。这可以通过在 .bash_profile 文件中添加下面的命令行来完成
38+
安装后,必须激活 bash_completion。这可以通过在 .bash_profile 文件中添加下面的命令行来完成
5439

5540
```
5641
source $(brew --prefix)/etc/bash_completion
@@ -60,14 +45,12 @@ source $(brew --prefix)/etc/bash_completion
6045
If bash-completion is not installed on Linux, please install the 'bash-completion' package
6146
via your distribution's package manager.
6247
-->
63-
6448
如果在 Linux 上没有安装 bash-completion,请通过你的发行版的包管理器安装 `bash-completion` 软件包。
6549

6650
<!--
6751
Note for zsh users: [1] zsh completions are only supported in versions of zsh &gt;= 5.2
6852
-->
69-
70-
zsh 用户注意事项:[1] zsh 自动补全仅在 &gt;=v5.2 及以上版本中支持。
53+
zsh 用户注意事项:[1] zsh 自动补全仅在 v5.2 及以上版本中支持。
7154

7255
```
7356
kubeadm completion SHELL [flags]
@@ -76,7 +59,6 @@ kubeadm completion SHELL [flags]
7659
<!--
7760
### Examples
7861
-->
79-
8062
### 示例
8163

8264
<!--
@@ -96,7 +78,6 @@ source $HOME/.bash_profile
9678
# Load the kubeadm completion code for zsh[1] into the current shell
9779
source <(kubeadm completion zsh)
9880
-->
99-
10081
```
10182
# 在 Mac 上使用 homebrew 安装 bash completion
10283
brew install bash-completion
@@ -117,7 +98,6 @@ source <(kubeadm completion zsh)
11798
<!--
11899
### Options
119100
-->
120-
121101
### 选项
122102

123103
<table style="width: 100%; table-layout: fixed;">
@@ -132,9 +112,11 @@ source <(kubeadm completion zsh)
132112
</tr>
133113
<tr>
134114
<td></td><td style="line-height: 130%; word-wrap: break-word;">
135-
<!-- help for completion -->
115+
<!--
116+
help for completion
117+
-->
136118
<p>
137-
completion 操作的帮助命令
119+
completion 操作的帮助命令
138120
</p>
139121
</td>
140122
</tr>
@@ -145,7 +127,6 @@ completion 操作的帮助命令
145127
<!--
146128
### Options inherited from parent commands
147129
-->
148-
149130
### 从父命令继承的选项
150131

151132
<table style="width: 100%; table-layout: fixed;">
@@ -171,4 +152,3 @@ completion 操作的帮助命令
171152

172153
</tbody>
173154
</table>
174-

0 commit comments

Comments
 (0)