ZH-trans: add generated/... (#11879)
* Update pull request * Resolving file conflicts
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e951d615f8
commit
d8e1b81c4b
+115
@@ -0,0 +1,115 @@
|
||||
|
||||
<!--
|
||||
Generates the certificate for serving etcd
|
||||
-->
|
||||
生成服务 etcd 的证书
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
-->
|
||||
|
||||
### 概要
|
||||
|
||||
<!--
|
||||
Generates the certificate for serving etcd, and saves them into etcd/server.cert and etcd/server.key files.
|
||||
-->
|
||||
生成服务 etcd 的证书,并将它们保存到 etcd/server.cert 和 etcd/server.key 中。
|
||||
|
||||
<!--
|
||||
Default SANs are localhost, 127.0.0.1, ::1
|
||||
-->
|
||||
默认 SANs 是本机 127.0.0.1, ::1
|
||||
|
||||
<!--
|
||||
If both files already exist, kubeadm skips the generation step and existing files will be used.
|
||||
-->
|
||||
如果两个文件都已存在,kubeadm 将跳过生成步骤,并将使用现有文件。
|
||||
|
||||
Alpha 免责声明:此命令属于 alpha。
|
||||
<!--
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
-->
|
||||
|
||||
```
|
||||
kubeadm alpha phase certs etcd-server [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;">etcd-server 的帮助信息</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for etcd-server</td>
|
||||
-->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<!--
|
||||
### Options inherited from parent commands
|
||||
-->
|
||||
<!--
|
||||
[EXPERIMENTAL] The path to the 'real' host root filesystem.
|
||||
-->
|
||||
|
||||
### 从父命令继承的选项
|
||||
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
|
||||
为 API 服务器生成用来访问 etcd 的客户端证书
|
||||
<!--
|
||||
Generates the client apiserver uses to access etcd
|
||||
-->
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
-->
|
||||
|
||||
### 概要
|
||||
|
||||
<!--
|
||||
Renews the client apiserver uses to access etcd, and saves them into apiserver-etcd-client.cert and apiserver-etcd-client.key files.
|
||||
-->
|
||||
更新客户端 API 服务器用于访问 etcd,并将其保存到 apiserver-etcd-client.cert 和 apiserver-etcd-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 apiserver-etcd-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;">apiserver-etcd-client 的帮助信息</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for apiserver-etcd-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 证书 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>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user