Skip to content

Commit

Permalink
Merge pull request kubernetes#42989 from windsonsea/certsy
Browse files Browse the repository at this point in the history
[zh] Clean up kubeadm_init_phase_certs files
  • Loading branch information
k8s-ci-robot authored Sep 11, 2023
2 parents c440a7d + 2dfc009 commit 913e7b7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 97 deletions.
Original file line number Diff line number Diff line change
@@ -1,42 +1,27 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference content, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->

<!--
Generate the certificate the apiserver uses to access etcd
-->
生成 apiserver 用来访问 etcd 的证书
生成 apiserver 用来访问 etcd 的证书

<!--
### Synopsis
-->

### 概要

<!--
Generate the certificate the apiserver uses to access etcd, and save them into apiserver-etcd-client.crt and apiserver-etcd-client.key files.
-->

生成 apiserver 用于访问 etcd 的证书,并将其保存到 apiserver-etcd-client.crt 和 apiserver-etcd-client.key 文件中。

<!--
If both files already exist, kubeadm skips the generation step and existing files will be used.
-->

如果两个文件都已存在,则 kubeadm 将跳过生成步骤,使用现有文件。

<!--
Alpha Disclaimer: this command is currently alpha.
-->

Alpha 免责声明:此命令当前为 Alpha 功能。
Alpha 免责声明:此命令目前处于 Alpha 阶段。

```
kubeadm init phase certs apiserver-etcd-client [flags]
Expand All @@ -45,7 +30,6 @@ kubeadm init phase certs apiserver-etcd-client [flags]
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -104,7 +88,7 @@ kubeadm init phase certs apiserver-etcd-client [flags]
<!--
<p>help for apiserver-etcd-client</p>
-->
<p>apiserver-etcd-client 操作的帮助命令</p>
<p>apiserver-etcd-client 操作的帮助命令</p>
</td>
</tr>

Expand All @@ -129,7 +113,6 @@ kubeadm init phase certs apiserver-etcd-client [flags]
<!--
### Options inherited from parent commands
-->

### 继承于父命令的选项

<table style="width: 100%; table-layout: fixed;">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference conent, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->

<!--
Generate the certificate for the API server to connect to kubelet
-->
生成供 API 服务器连接 kubelet 的证书
生成供 API 服务器连接 kubelet 的证书

<!--
### Synopsis
-->

### 概要

<!--
Expand All @@ -28,14 +16,12 @@ Generate the certificate for the API server to connect to kubelet, and save them
<!--
If both files already exist, kubeadm skips the generation step and existing files will be used.
-->

如果两个文件都已存在,则 kubeadm 将跳过生成步骤,使用现有文件。

<!--
Alpha Disclaimer: this command is currently alpha.
-->

Alpha 免责声明:此命令当前为 Alpha 功能。
Alpha 免责声明:此命令目前处于 Alpha 阶段。

```
kubeadm init phase certs apiserver-kubelet-client [flags]
Expand All @@ -44,7 +30,6 @@ kubeadm init phase certs apiserver-kubelet-client [flags]
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -105,7 +90,7 @@ Don't apply any changes; just output what would be done.
<!--
<p>help for apiserver-kubelet-client</p>
-->
<p>apiserver-kubelet-client 操作的帮助命令</p>
<p>apiserver-kubelet-client 操作的帮助命令</p>
</td>
</tr>

Expand All @@ -132,7 +117,6 @@ Don't apply any changes; just output what would be done.
<!--
### Options inherited from parent commands
-->

### 继承于父命令的选项

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

</tbody>
</table>

Original file line number Diff line number Diff line change
@@ -1,42 +1,27 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference content, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->

<!--
Generate the certificate for serving the Kubernetes API
-->
生成用于服务 Kubernetes API 的证书
生成用于服务 Kubernetes API 的证书

<!--
### Synopsis
-->

### 概要

<!--
Generate the certificate for serving the Kubernetes API, and save them into apiserver.crt and apiserver.key files.
-->
生成用于服务 Kubernetes API 的证书,并将其保存到 apiserver.crt 和 apiserver.key 文件中。


<!--
If both files already exist, kubeadm skips the generation step and existing files will be used.
-->

如果两个文件都已存在,则 kubeadm 将跳过生成步骤,使用现有文件。

<!--
Alpha Disclaimer: this command is currently alpha.
-->

Alpha 免责声明:此命令当前为 Alpha 功能。
Alpha 免责声明:此命令目前处于 Alpha 阶段。

```
kubeadm init phase certs apiserver [flags]
Expand All @@ -45,7 +30,6 @@ kubeadm init phase certs apiserver [flags]
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -142,7 +126,7 @@ Don't apply any changes; just output what would be done.
<!--
<p>help for apiserver</p>
-->
<p>apiserver 操作的帮助命令</p>
<p>apiserver 操作的帮助命令</p>
</td>
</tr>

Expand Down Expand Up @@ -203,7 +187,6 @@ Don't apply any changes; just output what would be done.
<!--
### Options inherited from parent commands
-->

### 继承于父命令的选项

<table style="width: 100%; table-layout: fixed;">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference content, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->

<!--
Generate the self-signed Kubernetes CA to provision identities for other Kubernetes components
-->
生成自签名的 Kubernetes CA 以便为其他 Kubernetes 组件提供身份标识
生成自签名的 Kubernetes CA 以便为其他 Kubernetes 组件提供身份标识

<!--
### Synopsis
-->

### 概要

<!--
Expand All @@ -33,7 +21,7 @@ If both files already exist, kubeadm skips the generation step and existing file
<!--
Alpha Disclaimer: this command is currently alpha.
-->
Alpha 免责声明:此命令当前为 Alpha 功能
Alpha 免责声明:此命令目前处于 Alpha 阶段

```
kubeadm init phase certs ca [flags]
Expand All @@ -42,7 +30,6 @@ kubeadm init phase certs ca [flags]
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -103,7 +90,7 @@ Don't apply any changes; just output what would be done.
<!--
<p>help for ca</p>
-->
<p>ca 操作的帮助命令</p>
<p>ca 操作的帮助命令</p>
</td>
</tr>

Expand All @@ -130,7 +117,6 @@ Don't apply any changes; just output what would be done.
<!--
### Options inherited from parent commands
-->

### 继承于父命令的选项

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

</tbody>
</table>

Original file line number Diff line number Diff line change
@@ -1,29 +1,16 @@
<!--
The file is auto-generated from the Go source code of the component using a generic
[generator](https://github.com/kubernetes-sigs/reference-docs/). To learn how
to generate the reference documentation, please read
[Contributing to the reference documentation](/docs/contribute/generate-ref-docs/).
To update the reference content, please follow the
[Contributing upstream](/docs/contribute/generate-ref-docs/contribute-upstream/)
guide. You can file document formatting bugs against the
[reference-docs](https://github.com/kubernetes-sigs/reference-docs/) project.
-->

<!--
Generate the self-signed CA to provision identities for etcd
-->
生成用于为 etcd 设置身份的自签名 CA
生成用于为 etcd 设置身份的自签名 CA

<!--
### Synopsis
-->

### 概要

<!--
Generate the self-signed CA to provision identities for etcd, and save them into etcd/ca.crt and etcd/ca.key files.
-->

生成用于为 etcd 设置身份的自签名 CA,并将其保存到 etcd/ca.crt 和 etcd/ca.key 文件中。

<!--
Expand All @@ -35,8 +22,7 @@ If both files already exist, kubeadm skips the generation step and existing file
<!--
Alpha Disclaimer: this command is currently alpha.
-->

Alpha 免责声明:此命令当前为 Alpha 功能。
Alpha 免责声明:此命令目前处于 Alpha 阶段。

```
kubeadm init phase certs etcd-ca [flags]
Expand All @@ -45,7 +31,6 @@ kubeadm init phase certs etcd-ca [flags]
<!--
### Options
-->

### 选项

<table style="width: 100%; table-layout: fixed;">
Expand Down Expand Up @@ -111,7 +96,7 @@ Don't apply any changes; just output what would be done.
help for etcd-ca
-->
<p>
etcd-ca 操作的帮助命令
etcd-ca 操作的帮助命令
</p>
</td>
</tr>
Expand Down Expand Up @@ -141,7 +126,6 @@ Choose a specific Kubernetes version for the control plane.
<!--
### Options inherited from parent commands
-->

### 继承于父命令的选项

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

0 comments on commit 913e7b7

Please sign in to comment.