ZH-trans: add kubeadm_alpha_phase_controlplane_all.md (#11970)
* Create kubeadm_alpha_phase_controlplane_all.md * Update kubeadm_alpha_phase_controlplane_all.md * Update kubeadm_alpha_phase_controlplane_all.md * Update kubeadm_alpha_phase_controlplane_all.md
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e4cd7949c8
commit
fac84ef1af
+225
@@ -0,0 +1,225 @@
|
||||
|
||||
生成用于创建控制平面所需的所有静态 Pod 清单文件
|
||||
<!--
|
||||
Generates all static Pod manifest files necessary to establish the control plane
|
||||
-->
|
||||
|
||||
<!--
|
||||
### Synopsis
|
||||
-->
|
||||
|
||||
### 概要
|
||||
|
||||
<!--
|
||||
Generates all static Pod manifest files necessary to establish the control plane.
|
||||
-->
|
||||
生成用于创建控制平面所需的所有静态 Pod 清单文件。
|
||||
|
||||
<!--
|
||||
Alpha Disclaimer: this command is currently alpha.
|
||||
-->
|
||||
Alpha 免责声明:此命令目前属于 alpha 阶段。
|
||||
|
||||
```
|
||||
kubeadm alpha phase controlplane all [flags]
|
||||
```
|
||||
|
||||
<!--
|
||||
### Examples
|
||||
-->
|
||||
|
||||
### 例子
|
||||
|
||||
<!--
|
||||
# Generates all static Pod manifest files for control plane components,
|
||||
# functionally equivalent to what generated by kubeadm init.
|
||||
|
||||
# Generates all static Pod manifest files using options read from a configuration file.
|
||||
-->
|
||||
|
||||
```
|
||||
# 生成控制平面组件所需的所有静态 Pod 清单文件。
|
||||
# 在功能上和 kubeadm init 生成的内容是相同的。
|
||||
kubeadm alpha phase controlplane all
|
||||
|
||||
# 使用从配置文件读取的选项,生成所有静态 Pod 清单文件
|
||||
kubeadm alpha phase controlplane --config masterconfiguration.yaml
|
||||
```
|
||||
|
||||
<!--
|
||||
### 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;">可用来访问 API 服务器的 IP 地址</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The IP address of the API server is accessible on</td>
|
||||
-->
|
||||
<tr>
|
||||
<td colspan="2">--apiserver-bind-port int32 默认值: 6443</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td colspan="2">--apiserver-bind-port int32 Default: 6443</td>
|
||||
-->
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">可用来访问 API 服务器的端口号</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The port the API server is accessible on</td>
|
||||
-->
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--apiserver-extra-args mapStringString</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td colspan="2">--apiserver-extra-args mapStringString</td>
|
||||
-->
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">一组以 <flagname>=<value> 的格式传递给 API 服务器或覆盖默认参数的附加的参数;</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of extra flags to pass to the API Server or override default ones in form of <flagname>=<value></td>
|
||||
-->
|
||||
|
||||
<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 certificates are stored</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">--controller-manager-extra-args mapStringString</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">一组以 <flagname>=<value> 的格式传递给控制器管理器或覆盖默认参数的附加的参数。</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value></td>
|
||||
-->
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--feature-gates string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">键值对集合,用来描述多种功能特性的特性开关;可选项有:<br/>Auditing=true|false (ALPHA - 默认=false)<br/>CoreDNS=true|false (默认=true)<br/>DynamicKubeletConfig=true|false (BETA - 默认=false)</td>
|
||||
</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/>Auditing=true|false (ALPHA - default=false)<br/>CoreDNS=true|false (default=true)<br/>DynamicKubeletConfig=true|false (BETA - default=false)</td>
|
||||
-->
|
||||
|
||||
<tr>
|
||||
<td colspan="2">-h, --help</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">all 的帮助信息</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">help for all</td>
|
||||
-->
|
||||
<tr>
|
||||
<td colspan="2">--kubernetes-version string 默认值: "stable-1"</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td colspan="2">--kubernetes-version string Default: "stable-1"</td>
|
||||
-->
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">为控制平面选择一个特定的 Kubernetes 版本</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">Choose a specific Kubernetes version for the control plane</td>
|
||||
-->
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--pod-network-cidr string</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">用于 Pod 网络的 IP 地址范围</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The range of IP addresses used for the Pod network</td>
|
||||
-->
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--scheduler-extra-args mapStringString</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">一组以 <flagname>=<value> 的格式传递给调度器或覆盖默认参数的附加的参数;</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">A set of extra flags to pass to the Scheduler or override default ones in form of <flagname>=<value></td>
|
||||
-->
|
||||
|
||||
<tr>
|
||||
<td colspan="2">--service-cidr string 默认值: "10.96.0.0/12"</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td colspan="2">--service-cidr string Default: "10.96.0.0/12"</td>
|
||||
-->
|
||||
<tr>
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">>服务 VIP 的 IP 范围</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">The range of IP address used for service VIPs</td>
|
||||
-->
|
||||
|
||||
</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;">[实验] 到'真实'主机根文件系统的路径。</td>
|
||||
</tr>
|
||||
<!--
|
||||
<td></td><td style="line-height: 130%; word-wrap: break-word;">[EXPERIMENTAL] The path to the 'real' host root filesystem.</td>
|
||||
-->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user