-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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/generated/kubeadm_alpha_phase_kubeconfig_admin.md
zh-trans: kubeadm/generated/kubeadm_alpha_phase_kubeconfig_admin.md
- Loading branch information
Showing
1 changed file
with
176 additions
and
0 deletions.
There are no files selected for viewing
176 changes: 176 additions & 0 deletions
176
...reference/setup-tools/kubeadm/generated/kubeadm_alpha_phase_kubeconfig_admin.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,176 @@ | ||
<!-- | ||
Generates a kubeconfig file for the admin to use and for kubeadm itself | ||
--> | ||
生成一个 kubeconfig 文件供管理员使用,也供 kubeadm 自身使用。 | ||
|
||
<!-- | ||
### Synopsis | ||
--> | ||
### 概要 | ||
|
||
<!-- | ||
Generates the kubeconfig file for the admin and for kubeadm itself, and saves it to admin.conf file. | ||
--> | ||
为管理员和 kubeadm 本身生成 kubeconfig 文件,并将其保存到 admin.conf 文件。 | ||
|
||
<!-- | ||
Alpha Disclaimer: this command is currently alpha. | ||
--> | ||
|
||
Alpha 免责声明:此命令当前处于 alpha 阶段。 | ||
|
||
``` | ||
kubeadm alpha phase kubeconfig admin [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">--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">--config string</td> | ||
</tr> | ||
<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> | ||
<tr> | ||
<td colspan="2">-h, --help</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for admin</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> | ||
</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">--config string</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">kubeadm 配置文件的路径。警告:配置文件的使用是实验性的。</td> | ||
</tr> | ||
|
||
<tr> | ||
<td colspan="2">-h, --help</td> | ||
</tr> | ||
<tr> | ||
<td></td><td style="line-height: 130%; word-wrap: break-word;">admin 的帮助信息</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> | ||
|
||
</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> |