Merge pull request #43337 from windsonsea/adminyh

[zh] Clean up kubeadm_init_phase_kubeconfig files
pull/43370/head
Kubernetes Prow Robot 2023-10-07 14:15:55 +02:00 committed by GitHub
commit 430ce52022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 106 deletions

View File

@ -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 all kubeconfig files necessary to establish the control plane and the admin kubeconfig file Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file
--> -->
生成所有建立控制平面和管理员admin所需的 kubeconfig 文件 生成所有建立控制平面和管理员admin所需的 kubeconfig 文件。
<!-- <!--
### Synopsis ### Synopsis
--> -->
### 概要 ### 概要
<!-- <!--
This command is not meant to be run on its own. See list of available subcommands. This command is not meant to be run on its own. See list of available subcommands.
--> -->
此命令并非设计用来单独运行。请阅读可用子命令列表。 此命令并非设计用来单独运行。请阅读可用子命令列表。
``` ```
@ -33,7 +20,6 @@ kubeadm init phase kubeconfig [flags]
<!-- <!--
### Options ### Options
--> -->
### 选项 ### 选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -61,7 +47,6 @@ kubeadm init phase kubeconfig [flags]
<!-- <!--
### Options inherited from parent commands ### Options inherited from parent commands
--> -->
### 从父命令继承的选项 ### 从父命令继承的选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -85,4 +70,3 @@ kubeadm init phase kubeconfig [flags]
</tbody> </tbody>
</table> </table>

View File

@ -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 a kubeconfig file for the admin to use and for kubeadm itself Generate a kubeconfig file for the admin to use and for kubeadm itself
--> -->
为管理员admin和 kubeadm 本身生成 kubeconfig 文件 为管理员admin和 kubeadm 本身生成 kubeconfig 文件。
<!-- <!--
### Synopsis ### Synopsis
--> -->
### 概要 ### 概要
<!-- <!--
Generate the kubeconfig file for the admin and for kubeadm itself, and save it to admin.conf file. Generate the kubeconfig file for the admin and for kubeadm itself, and save it to admin.conf file.
--> -->
为管理员和 kubeadm 本身生成 kubeconfig 文件,并将其保存到 admin.conf 文件中。 为管理员和 kubeadm 本身生成 kubeconfig 文件,并将其保存到 admin.conf 文件中。
``` ```
@ -33,7 +20,6 @@ kubeadm init phase kubeconfig admin [flags]
<!-- <!--
### Options ### Options
--> -->
### 选项 ### 选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -135,7 +121,7 @@ Don't apply any changes; just output what would be done.
<!-- <!--
<p>help for admin</p> <p>help for admin</p>
--> -->
<p>admin 操作的帮助命令</p> <p>admin 操作的帮助命令</p>
</td> </td>
</tr> </tr>
@ -179,7 +165,6 @@ Don't apply any changes; just output what would be done.
<!-- <!--
### Options inherited from parent commands ### Options inherited from parent commands
--> -->
### 继承于父命令的选项 ### 继承于父命令的选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -203,4 +188,3 @@ Don't apply any changes; just output what would be done.
</tbody> </tbody>
</table> </table>

View File

@ -1,29 +1,17 @@
<!--
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 all kubeconfig files Generate all kubeconfig files
--> -->
生成所有 kubeconfig 文件 生成所有 kubeconfig 文件。
<!-- <!--
### Synopsis ### Synopsis
--> -->
### 概要 ### 概要
<!-- <!--
Generate all kubeconfig files Generate all kubeconfig files
--> -->
生成所有 kubeconfig 文件 生成所有 kubeconfig 文件
``` ```
kubeadm init phase kubeconfig all [flags] kubeadm init phase kubeconfig all [flags]
@ -32,7 +20,6 @@ kubeadm init phase kubeconfig all [flags]
<!-- <!--
### Options ### Options
--> -->
### 选项 ### 选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -145,7 +132,7 @@ Don't apply any changes; just output what would be done.
help for all help for all
--> -->
<p> <p>
all 操作的帮助命令 all 操作的帮助命令
</p> </p>
</td> </td>
</tr> </tr>

View File

@ -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 a kubeconfig file for the controller manager to use Generate a kubeconfig file for the controller manager to use
--> -->
生成控制器管理器要使用的 kubeconfig 文件 生成控制器管理器要使用的 kubeconfig 文件。
<!-- <!--
### Synopsis ### Synopsis
--> -->
### 概要 ### 概要
<!-- <!--
Generate the kubeconfig file for the controller manager to use and save it to controller-manager.conf file Generate the kubeconfig file for the controller manager to use and save it to controller-manager.conf file
--> -->
生成控制器管理器要使用的 kubeconfig 文件,并保存到 controller-manager.conf 文件中。 生成控制器管理器要使用的 kubeconfig 文件,并保存到 controller-manager.conf 文件中。
``` ```
@ -33,7 +20,6 @@ kubeadm init phase kubeconfig controller-manager [flags]
<!-- <!--
### Options ### Options
--> -->
### 选项 ### 选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -133,7 +119,7 @@ kubeadm init phase kubeconfig controller-manager [flags]
<!-- <!--
<p>help for controller-manager</p> <p>help for controller-manager</p>
--> -->
<p>controller-manager 操作的帮助命令</p> <p>controller-manager 操作的帮助命令</p>
</td> </td>
</tr> </tr>
@ -176,7 +162,6 @@ kubeadm init phase kubeconfig controller-manager [flags]
<!-- <!--
### Options inherited from parent commands ### Options inherited from parent commands
--> -->
### 继承于父命令的选项 ### 继承于父命令的选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -200,4 +185,3 @@ kubeadm init phase kubeconfig controller-manager [flags]
</tbody> </tbody>
</table> </table>

View File

@ -1,18 +1,7 @@
<!--
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 a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrapping purposes
--> -->
为 kubelet 生成一个 kubeconfig 文件,*仅仅*用于集群引导目的 为 kubelet 生成一个 kubeconfig 文件,**仅仅**用于集群引导目的。
<!-- <!--
### Synopsis ### Synopsis
@ -22,14 +11,12 @@ Generate a kubeconfig file for the kubelet to use *only* for cluster bootstrappi
<!-- <!--
Generate the kubeconfig file for the kubelet to use and save it to kubelet.conf file. Generate the kubeconfig file for the kubelet to use and save it to kubelet.conf file.
--> -->
生成 kubelet 要使用的 kubeconfig 文件,并将其保存到 kubelet.conf 文件。 生成 kubelet 要使用的 kubeconfig 文件,并将其保存到 kubelet.conf 文件。
<!-- <!--
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. 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.
--> -->
请注意,该操作目的是**仅**用于引导集群。在控制平面启动之后,应该从 CSR API 请求所有 kubelet 凭据。
请注意,该操作目的是*仅*应用于引导集群。在控制平面启动之后,应该从 CSR API 请求所有 kubelet 凭据。
``` ```
kubeadm init phase kubeconfig kubelet [flags] kubeadm init phase kubeconfig kubelet [flags]
@ -38,7 +25,6 @@ kubeadm init phase kubeconfig kubelet [flags]
<!-- <!--
### Options ### Options
--> -->
### 选项 ### 选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -138,7 +124,7 @@ kubeadm init phase kubeconfig kubelet [flags]
<!-- <!--
<p>help for kubelet</p> <p>help for kubelet</p>
--> -->
<p>kubelet 操作的帮助命令</p> <p>kubelet 操作的帮助命令</p>
</td> </td>
</tr> </tr>
@ -194,7 +180,6 @@ kubeadm init phase kubeconfig kubelet [flags]
<!-- <!--
### Options inherited from parent commands ### Options inherited from parent commands
--> -->
### 继承于父命令的选项 ### 继承于父命令的选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -218,4 +203,3 @@ kubeadm init phase kubeconfig kubelet [flags]
</tbody> </tbody>
</table> </table>

View File

@ -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 a kubeconfig file for the scheduler to use Generate a kubeconfig file for the scheduler to use
--> -->
生成调度器使用的 kubeconfig 文件 生成调度器使用的 kubeconfig 文件。
<!-- <!--
### Synopsis ### Synopsis
--> -->
### 概要 ### 概要
<!-- <!--
Generate the kubeconfig file for the scheduler to use and save it to scheduler.conf file. Generate the kubeconfig file for the scheduler to use and save it to scheduler.conf file.
--> -->
生成调度器scheduler要使用的 kubeconfig 文件,并保存到 scheduler.conf 文件中。 生成调度器scheduler要使用的 kubeconfig 文件,并保存到 scheduler.conf 文件中。
``` ```
@ -33,7 +20,6 @@ kubeadm init phase kubeconfig scheduler [flags]
<!-- <!--
### Options ### Options
--> -->
### 选项 ### 选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -135,7 +121,7 @@ Don't apply any changes; just output what would be done.
<!-- <!--
<p>help for scheduler</p> <p>help for scheduler</p>
--> -->
<p>scheduler 操作的帮助命令</p> <p>scheduler 操作的帮助命令</p>
</td> </td>
</tr> </tr>
@ -179,7 +165,6 @@ Don't apply any changes; just output what would be done.
<!-- <!--
### Options inherited from parent commands ### Options inherited from parent commands
--> -->
### 继承于父命令的选项 ### 继承于父命令的选项
<table style="width: 100%; table-layout: fixed;"> <table style="width: 100%; table-layout: fixed;">
@ -203,4 +188,3 @@ Don't apply any changes; just output what would be done.
</tbody> </tbody>
</table> </table>