[zh]Sync kubeadm-6

[zh]Sync kubeadm-6
This commit is contained in:
wei.wang
2022-05-10 23:59:55 +08:00
parent 4c7c7b88c8
commit 463f6c0c58
8 changed files with 92 additions and 103 deletions
@@ -87,6 +87,3 @@ kubeadm certs renew etcd-healthcheck-client [flags]
</tbody>
</table>
@@ -87,6 +87,3 @@ kubeadm certs renew etcd-peer [flags]
</tbody>
</table>
@@ -116,6 +116,3 @@ kubeadm config images list [flags]
</tbody>
</table>
@@ -56,6 +56,3 @@ Use this command to invoke single phase of the node workflow
</tbody>
</table>
@@ -1,3 +1,18 @@
<!--
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.
-->
<!--
Renew the certificate for liveness probes to healthcheck etcd
-->
续订存活态探针的证书,用于对 etcd 执行健康检查
<!--
### Synopsis
@@ -21,7 +36,7 @@ Renewal by default tries to use the certificate authority in the local PKI manag
也可以使用 K8s certificate API 进行证书续订,或者(作为最后一种选择)生成 CSR 请求。
<!--
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.
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.
-->
续订后,为了使更改生效,需要重新启动控制平面组件,并最终重新分发更新的证书,以防证书文件在其他地方使用。
@@ -54,7 +69,9 @@ kubeadm certs renew etcd-healthcheck-client [flags]
<!--
The path where to save the certificates.
-->
<p>
保存证书的路径。
</p>
</td>
</tr>
@@ -66,33 +83,10 @@ The path where to save the certificates.
<!--
Path to a kubeadm configuration file.
-->
<p>
kubeadm 配置文件的路径。
</p>
</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
The path to output the CSRs and private keys to
-->
CSR 和私钥的输出路径
</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
Create CSRs instead of generating certificates
-->
创建 CSR 而不是生成证书
</td>
</tr>
<tr>
<td colspan="2">-h, --help</td>
@@ -102,7 +96,9 @@ Create CSRs instead of generating certificates
<!--
help for etcd-healthcheck-client
-->
<p>
etcd-healthcheck-client 操作的帮助命令
</p>
</td>
</tr>
@@ -119,20 +115,10 @@ etcd-healthcheck-client 操作的帮助命令
<!--
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.
-->
<p>
与集群通信时使用的 kubeconfig 文件。
如果未设置该参数,则可以在一组标准位置中搜索现有的 kubeconfig 文件。
</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
Use the Kubernetes certificate API to renew certificates
-->
使用 Kubernetes 证书 API 续订证书
</p>
</td>
</tr>
@@ -159,10 +145,11 @@ Use the Kubernetes certificate API to renew certificates
<!--
[EXPERIMENTAL] The path to the 'real' host root filesystem.
-->
<p>
[实验] 到 '真实' 主机根文件系统的路径。
</p>
</td>
</tr>
</tbody>
</table>
@@ -1,3 +1,19 @@
<!--
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.
-->
<!--
Renew the certificate for etcd nodes to communicate with each other
-->
续订 etcd 节点间用来相互通信的证书
<!--
### Synopsis
@@ -54,7 +70,9 @@ kubeadm certs renew etcd-peer [flags]
<!--
The path where to save the certificates.
-->
<p>
保存证书的路径。
</p>
</td>
</tr>
@@ -66,31 +84,9 @@ The path where to save the certificates.
<!--
Path to a kubeadm configuration file.
-->
<p>
kubeadm 配置文件的路径。
</td>
</tr>
<tr>
<td colspan="2">--csr-dir string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
The path to output the CSRs and private keys to
-->
CSR 和私钥的输出路径
</td>
</tr>
<tr>
<td colspan="2">--csr-only</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
Create CSRs instead of generating certificates
-->
创建 CSR 而不是生成证书
</p>
</td>
</tr>
@@ -119,22 +115,16 @@ etcd-peer 操作的帮助命令
<!--
The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.
-->
<p>
与集群通信时使用的 kubeconfig 文件。
如果未设置该参数,则可以在一组标准位置中搜索现有的 kubeconfig 文件。
</p>
</td>
</tr>
<tr>
<td colspan="2">--use-api</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
Use the Kubernetes certificate API to renew certificates
-->
使用 Kubernetes 证书 API 续订证书
</td>
</tr>
</tbody>
</table>
@@ -159,10 +149,11 @@ Use the Kubernetes certificate API to renew certificates
<!--
[EXPERIMENTAL] The path to the 'real' host root filesystem.
-->
<p>
[实验] 到 '真实' 主机根文件系统的路径。
</p>
</td>
</tr>
</tbody>
</table>
@@ -16,16 +16,21 @@ guide. You can file document formatting bugs against the
-->
<!--
<!--
Print a list of images kubeadm will use. The configuration file is used in case any images or image repositories are customized
-->
打印 kubeadm 要使用的镜像列表。配置文件用于自定义镜像或镜像存储库
### Synopsis
-->
### 概要
<!--
Print a list of images kubeadm will use. The configuration file is used in case any images or image repositories are customized.
Print a list of images kubeadm will use. The configuration file is used in case any images or image repositories are customized
-->
打印 kubeadm 要使用的镜像列表。配置文件用于自定义任何镜像或镜像存储库。
打印 kubeadm 要使用的镜像列表。配置文件用于自定义镜像或镜像存储库
```
kubeadm config images list [flags]
@@ -62,6 +67,19 @@ If true, ignore any errors in templates when a field or map key is missing in th
</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
Path to a kubeadm configuration file.
-->
<p>
kubeadm 配置文件的路径。
</p>
</td>
</tr>
<tr>
<td colspan="2">
<!-- -o, --experimental-output string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "text" -->
@@ -79,19 +97,6 @@ Output format. One of: text|json|yaml|go-template|go-template-file|template|temp
</td>
</tr>
<tr>
<td colspan="2">--config string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
Path to a kubeadm configuration file.
-->
<p>
kubeadm 配置文件的路径。
</p>
</td>
</tr>
<tr>
<td colspan="2">--feature-gates string</td>
@@ -99,13 +104,13 @@ kubeadm 配置文件的路径。
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
A set of key=value pairs that describe feature gates for various features. Options are:<br/>PublicKeysECDSA=true|false (ALPHA - default=false)<br/>RootlessControlPlane=true|false (ALPHA - default=false)<br/>UnversionedKubeletConfigMap=true|false (ALPHA - default=false)
A set of key=value pairs that describe feature gates for various features. Options are:<br/>PublicKeysECDSA=true|false (ALPHA - default=false)<br/>RootlessControlPlane=true|false (ALPHA - default=false)<br/>UnversionedKubeletConfigMap=true|false (BETA - default=true)
-->
<p>
一组键值对(key=value),用于描述各种特征。选项是:
<br/>PublicKeysECDSA=true|false (ALPHA - 默认=false)
<br/>RootlessControlPlane=true|false (ALPHA - 默认=false)
<br/>UnversionedKubeletConfigMap=true|false (ALPHA - 默认=false)
<br/>UnversionedKubeletConfigMap=true|false (BETA - 默认=true)
</p>
</td>
</tr>
@@ -184,7 +189,6 @@ If true, keep the managedFields when printing objects in JSON or YAML format.
<!--
### Options inherited from parent commands
-->
### 从父命令继承的选项
<table style="width: 100%; table-layout: fixed;">
@@ -1,3 +1,18 @@
<!--
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.
-->
<!--
Use this command to invoke single phase of the node workflow
-->
使用此命令调用 node 工作流的某个阶段
<!--
### Synopsis
@@ -32,7 +47,9 @@ Use this command to invoke single phase of the node workflow
<!--
help for phase
-->
<p>
phase 操作的帮助命令
</p>
</td>
</tr>
@@ -59,7 +76,9 @@ phase 操作的帮助命令
<!--
[EXPERIMENTAL] The path to the 'real' host root filesystem.
-->
<p>
[实验] 指向 '真实' 宿主机根文件系统的路径。
</p>
</td>
</tr>