Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zh_trans: kubeadm_alpha_phase_kubeconfig_user.md (#11901)
* zh_trans: kubeadm_alpha_phase_kubeconfig_user.md zh_trans: /docs/reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_kubeconfig_user.md * Better translation
- Loading branch information
1 parent
44d598b
commit e012092
Showing
1 changed file
with
228 additions
and
0 deletions.
There are no files selected for viewing
228 changes: 228 additions & 0 deletions
228
.../reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_kubeconfig_user.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,228 @@ | ||
|
||
为其他用户输出 kubeconfig 文件 | ||
<!-- | ||
Outputs a kubeconfig file for an additional user | ||
--> | ||
|
||
<!-- | ||
### Synopsis | ||
--> | ||
|
||
### 概要 | ||
|
||
<!-- | ||
Outputs a kubeconfig file for an additional user. | ||
Alpha Disclaimer: this command is currently alpha. | ||
--> | ||
|
||
为其他用户输出 kubeconfig 文件。 | ||
Alpha 免责声明:此命令目前是 alpha。 | ||
|
||
``` | ||
kubeadm alpha phase kubeconfig user [flags] | ||
``` | ||
|
||
<!-- | ||
### Examples | ||
--> | ||
|
||
### 样例 | ||
|
||
<!-- | ||
``` | ||
# Outputs a kubeconfig file for an additional user named foo | ||
kubeadm alpha phase kubeconfig user --client-name=foo | ||
``` | ||
--> | ||
|
||
``` | ||
# 为名为 foo 的其他用户输出 kubeconfig 文件 | ||
kubeadm alpha phase kubeconfig user --client-name=foo | ||
``` | ||
|
||
<!-- | ||
### Options | ||
--> | ||
|
||
### 选项 | ||
|
||
<!-- | ||
<table style="width: 100%; table-layout: fixed;"> | ||
<colgroup> | ||
<col span="1" style="width: 10px;" /> | ||
<col span="1" /> | ||
</colgroup> | ||
<tbody> | ||
<tr> | ||
<td colspan="2">--apiserver-advertise-address string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address the API server is accessible on</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2">--apiserver-bind-port int32 Default: 6443</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The port the API server is accessible on</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2">--cert-dir string Default: "/etc/kubernetes/pki"</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where certificates are stored</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2">--client-name string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The name of user. It will be used as the CN if client certificates are created</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2">-h, --help</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for user</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2">--kubeconfig-dir string Default: "/etc/kubernetes"</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The path where to save the kubeconfig file</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2">--org stringSlice</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The orgnizations of the client certificate. It will be used as the O if client certificates are created</td> | ||
</tr> | ||
<tr> | ||
<td colspan="2">--token string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
--> | ||
|
||
<table style="width: 100%; table-layout: fixed;"> | ||
<colgroup> | ||
<col span="1" style="width: 10px;" /> | ||
<col span="1" /> | ||
</colgroup> | ||
<tbody> | ||
|
||
<tr> | ||
<td colspan="2">--apiserver-advertise-address string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">用来访问 API 服务器的 IP 地址</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">--apiserver-bind-port int32 默认值: 6443</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">用来访问 API 服务器的端口</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">--cert-dir string 默认值: "/etc/kubernetes/pki"</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">证书存储路径</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">--client-name string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">用户名。如果创建了客户端证书,它将用作 CN</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">-h, --help</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">user 操作的帮助信息</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">--kubeconfig-dir string 默认值: "/etc/kubernetes"</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeconfig 文件存储路径</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">--org stringSlice</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">客户端证书的组织。如果创建了客户端证书,它将用作 O。</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">--token string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">需要用来完成 kubeconfig 身份认证操作的令牌,设定此值时 kubeadm 不再使用客户端证书</td> | ||
</tr> | ||
|
||
</tbody> | ||
</table> | ||
|
||
|
||
|
||
<!-- | ||
### Options inherited from parent commands | ||
--> | ||
|
||
### 从父命令继承的选项 | ||
|
||
<!-- | ||
<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;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
--> | ||
|
||
<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> | ||
|
||
|