ZH-trans: add generated/... (#11880)
* Update pull request * Update kubeadm_alpha_phase_certs_renew.md
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
ce5ca1249d
commit
401426cc30
+79
@@ -0,0 +1,79 @@
|
|||||||
|
|
||||||
|
续期 Kubernetes 集群的证书
|
||||||
|
<!--
|
||||||
|
Renews certificates for a Kubernetes cluster
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
### Synopsis
|
||||||
|
-->
|
||||||
|
|
||||||
|
### 概要
|
||||||
|
|
||||||
|
<!--
|
||||||
|
This command is not meant to be run on its own. See list of available subcommands.
|
||||||
|
-->
|
||||||
|
此命令不能单独运行。请参阅可用子命令列表。
|
||||||
|
|
||||||
|
```
|
||||||
|
kubeadm alpha phase certs renew [flags]
|
||||||
|
```
|
||||||
|
|
||||||
|
<!--
|
||||||
|
### Options
|
||||||
|
-->
|
||||||
|
|
||||||
|
### 选项
|
||||||
|
|
||||||
|
<table style="width: 100%; table-layout: fixed;">
|
||||||
|
<colgroup>
|
||||||
|
<col span="1" style="width: 10px;" />
|
||||||
|
<col span="1" />
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">-h, --help</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">renew 的帮助信息</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for renew</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
### Options inherited from parent commands
|
||||||
|
-->
|
||||||
|
|
||||||
|
### 从父命令继承的选项
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<table style="width: 100%; table-layout: fixed;">
|
||||||
|
<colgroup>
|
||||||
|
<col span="1" style="width: 10px;" />
|
||||||
|
<col span="1" />
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">--rootfs string</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] 到'真实'主机根文件系统的路径。</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
+129
@@ -0,0 +1,129 @@
|
|||||||
|
|
||||||
|
<!--
|
||||||
|
Generates the client for the front proxy
|
||||||
|
-->
|
||||||
|
为前端代理生成客户端
|
||||||
|
|
||||||
|
<!--
|
||||||
|
### Synopsis
|
||||||
|
-->
|
||||||
|
|
||||||
|
### 概要
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Renews the client for the front proxy, and saves them into front-proxy-client.cert and front-proxy-client.key files.
|
||||||
|
-->
|
||||||
|
更新前端代理的客户端,并将其保存到 front-proxy-client.cert 和 front-proxy-client.key 中。
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Extra attributes such as SANs will be based on the existing certificates, there is no need to resupply them.
|
||||||
|
-->
|
||||||
|
额外的属性如 SANs 将基于现有的证书,不需要重新提供它们。
|
||||||
|
|
||||||
|
```
|
||||||
|
kubeadm alpha phase certs renew front-proxy-client [flags]
|
||||||
|
```
|
||||||
|
|
||||||
|
<!--
|
||||||
|
### Options
|
||||||
|
-->
|
||||||
|
|
||||||
|
### 选项
|
||||||
|
|
||||||
|
<table style="width: 100%; table-layout: fixed;">
|
||||||
|
<colgroup>
|
||||||
|
<col span="1" style="width: 10px;" />
|
||||||
|
<col span="1" />
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">--cert-dir string 默认值: "/etc/kubernetes/pki"</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td colspan="2">--cert-dir string Default: "/etc/kubernetes/pki"</td>
|
||||||
|
-->
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">保存证书的路径</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the certificates</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">--config string</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeadm 配置文件的路径(警告:配置文件的使用是实验性的)</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">-h, --help</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">front-proxy-client 的帮助信息</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for front-proxy-client</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">--kubeconfig string 默认值: "/etc/kubernetes/admin.conf"</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td colspan="2">--kubeconfig string Default: "/etc/kubernetes/admin.conf"</td>
|
||||||
|
-->
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">用于和集群通信的 KubeConfig 文件。如果它没有被设置,那么 kubeadm 将会搜索一个已经存在于标准路径的 KubeConfig 文件。</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">The KubeConfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">--use-api</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">使用 Kubernetes certificate API 更新证书</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">Use the Kubernetes certificate API to renew certificates</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
### Options inherited from parent commands
|
||||||
|
-->
|
||||||
|
|
||||||
|
### 从父命令继承的选项
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<table style="width: 100%; table-layout: fixed;">
|
||||||
|
<colgroup>
|
||||||
|
<col span="1" style="width: 10px;" />
|
||||||
|
<col span="1" />
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">--rootfs string</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] 到'真实'主机根文件系统的路径。</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
+94
@@ -0,0 +1,94 @@
|
|||||||
|
|
||||||
|
<!--
|
||||||
|
Run pre-flight checks
|
||||||
|
-->
|
||||||
|
运行 pre-flight 检查
|
||||||
|
|
||||||
|
<!--
|
||||||
|
### Synopsis
|
||||||
|
-->
|
||||||
|
|
||||||
|
### 概要
|
||||||
|
|
||||||
|
<!--
|
||||||
|
This command is not meant to be run on its own. See list of available subcommands.
|
||||||
|
-->
|
||||||
|
此命令不能单独运行。请参阅可用子命令列表。
|
||||||
|
|
||||||
|
<!--
|
||||||
|
### Options
|
||||||
|
-->
|
||||||
|
|
||||||
|
#### 选项
|
||||||
|
|
||||||
|
<table style="width: 100%; table-layout: fixed;">
|
||||||
|
<colgroup>
|
||||||
|
<col span="1" style="width: 10px;" />
|
||||||
|
<col span="1" />
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">--config string</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeadm 配置文件的路径(警告:配置文件的使用是实验性的)</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">-h, --help</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">preflight 的帮助信息</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for preflight</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">--ignore-preflight-errors stringSlice</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">将检查的错误显示为警告,例如:'IsPrivilegedUser,Swap'. 值 'all' 忽略所有的检查错误。</td>
|
||||||
|
</tr>
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">A list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. Value 'all' ignores errors from all checks.</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
### Options inherited from parent commands
|
||||||
|
-->
|
||||||
|
|
||||||
|
### 从父命令继承的选项
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<table style="width: 100%; table-layout: fixed;">
|
||||||
|
<colgroup>
|
||||||
|
<col span="1" style="width: 10px;" />
|
||||||
|
<col span="1" />
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">--rootfs string</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td><td style="line-height: 130%; word-wrap: break-word;">[实验] 到'真实'主机根文件系统的路径。</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user