Merge pull request #33487 from nameYULI/yl9

[zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_control-plane_all.md
This commit is contained in:
Kubernetes Prow Robot 2022-05-05 20:43:04 -07:00 committed by GitHub
commit d4018128c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 65 additions and 14 deletions

View File

@ -1,3 +1,7 @@
<!--
Generate all static Pod manifest files
-->
生成所有静态 Pod 清单文件
<!--
### Synopsis
@ -53,7 +57,9 @@ kubeadm init phase control-plane all --config config.yaml
<!--
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
-->
<p>
API 服务器所公布的其正在监听的 IP 地址。如果未设置,将使用默认的网络接口。
</p>
</td>
</tr>
@ -66,20 +72,24 @@ API 服务器所公布的其正在监听的 IP 地址。如果未设置,将使
<!--
Port for the API Server to bind to.
-->
<p>
API 服务器要绑定的端口。
</p>
</td>
</tr>
<tr>
<td colspan="2">--apiserver-extra-args mapStringString</td>
<td colspan="2">--apiserver-extra-args &lt;<!--comma-separated 'key=value' pairs-->逗号分割的 'key=value' 对&gt;</td>
</tr>
<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 &lt;flagname&gt;=&lt;value&gt;
-->
<p>
形式为 &lt;flagname&gt;=&lt;value&gt; 的一组额外参数,用来传递给 API 服务器,
或者覆盖其默认配置值
</p>
</td>
</tr>
@ -96,7 +106,9 @@ A set of extra flags to pass to the API Server or override default ones in form
<!--
The path where to save and store the certificates.
-->
<p>
存储证书的路径。
</p>
</td>
</tr>
@ -108,7 +120,9 @@ The path where to save and store the certificates.
<!--
Path to a kubeadm configuration file.
-->
<p>
kubeadm 配置文件的路径。
</p>
</td>
</tr>
@ -120,37 +134,36 @@ kubeadm 配置文件的路径。
<!--
Specify a stable IP address or DNS name for the control plane.
-->
<p>
为控制平面选择一个稳定的 IP 地址或者 DNS 名称。
</p>
</td>
</tr>
<tr>
<td colspan="2">--controller-manager-extra-args mapStringString</td>
<td colspan="2">--controller-manager-extra-args &lt;<!--comma-separated 'key=value' pairs-->逗号分割的 'key=value' 对&gt;</td>
</tr>
<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 &lt;flagname&gt;=&lt;value&gt;
-->
<p>
一组形式为 &lt;flagname&gt;=&lt;value&gt; 的额外参数用来传递给控制管理器Controller Manager
或覆盖其默认设置值
</p>
</td>
</tr>
<tr>
<td colspan="2">--experimental-patches string</td>
<td colspan="2">--dry-run</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
Path to a directory that contains files named "target[suffix][+patchtype].extension". For example, "kube-apiserver0+merge.yaml" or just "etcd.json". "patchtype" can be one of "strategic", "merge" or "json" and they match the patch formats supported by kubectl. The default "patchtype" is "strategic". "extension" must be either "json" or "yaml". "suffix" is an optional string that can be used to determine which patches are applied first alpha-numerically.
Don't apply any changes; just output what would be done.
-->
包含名为 "target[suffix][+patchtype].extension" 的文件的目录。
例如,"kube-apiserver0+merge.yaml" 或者 "etcd.json"。
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,分别与 kubectl
所支持的 patch 格式相匹配。默认的 "patchtype" 是 "strategic"。
"extension" 必须是 "json" 或 "yaml"。
"suffix" 是一个可选的字符串,用来确定按字母顺序排序时首先应用哪些 patch。
不要应用任何变更;只是输出将要执行的操作。
</td>
</tr>
@ -160,11 +173,14 @@ Path to a directory that contains files named "target[suffix][+patchtype].extens
<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/>IPv6DualStack=true|false (ALPHA - default=false)<br/>PublicKeysECDSA=true|false (ALPHA - default=false)
A set of key=value pairs that describe feature gates for various features. Options are:<br/>PublicKeysECDSA=true|false (ALPHA - default=false)<br/>RootlessControlPlane=true|false (ALPHA - default=false)<br/>UnversionedKubeletConfigMap=true|false (BETA - default=true)
-->
<p>
一组用来描述各种特性门控的键值key=value对。选项是
<br/>IPv6DualStack=true|false (ALPHA - 默认=false)
<br/>PublicKeysECDSA=true|false (ALPHA - 默认=false)
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
<br/>UnversionedKubeletConfigMap=true|false (BETA - 默认值=true)
</p>
</td>
</tr>
@ -176,7 +192,9 @@ A set of key=value pairs that describe feature gates for various features. Optio
<!--
help for all
-->
<p>
all 操作的帮助命令
</p>
</td>
</tr>
@ -193,7 +211,9 @@ all 操作的帮助命令
<!--
Choose a container registry to pull control plane images from
-->
<p>
选择用于拉取控制平面镜像的容器仓库
</p>
</td>
</tr>
@ -210,7 +230,30 @@ Choose a container registry to pull control plane images from
<!--
Choose a specific Kubernetes version for the control plane.
-->
<p>
为控制平面选择指定的 Kubernetes 版本。
</p>
</td>
</tr>
<tr>
<td colspan="2">--patches string</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">
<!--
Path to a directory that contains files named &quot;target[suffix][+patchtype].extension&quot;. For example, &quot;kube-apiserver0+merge.yaml&quot; or just &quot;etcd.json&quot;. &quot;target&quot; can be one of &quot;kube-apiserver&quot;, &quot;kube-controller-manager&quot;, &quot;kube-scheduler&quot;, &quot;etcd&quot;. &quot;patchtype&quot; can be one of &quot;strategic&quot;, &quot;merge&quot; or &quot;json&quot; and they match the patch formats supported by kubectl. The default &quot;patchtype&quot; is &quot;strategic&quot;. &quot;extension&quot; must be either &quot;json&quot; or &quot;yaml&quot;. &quot;suffix&quot; is an optional string that can be used to determine which patches are applied first alpha-numerically.
-->
<p>
包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
例如,&quot;kube-apiserver0+merge.yaml&quot;或仅仅是 &quot;etcd.json&quot;
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot; 之一。
&quot;patchtype&quot; 可以是 &quot;strategic&quot;&quot;merge&quot; 或者 &quot;json&quot; 之一,
并且它们与 kubectl 支持的补丁格式相同。
默认的 &quot;patchtype&quot;&quot;strategic&quot;
&quot;extension&quot; 必须是&quot;json&quot;&quot;yaml&quot;
&quot;suffix&quot; 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
</p>
</td>
</tr>
@ -222,22 +265,26 @@ Choose a specific Kubernetes version for the control plane.
<!--
Specify range of IP addresses for the pod network. If set, the control plane will automatically allocate CIDRs for every node.
-->
<p>
指定 Pod 网络的 IP 地址范围。如果设置了此标志,控制平面将自动地为每个节点分配 CIDR。
</p>
</td>
</tr>
<tr>
<td colspan="2">--scheduler-extra-args mapStringString</td>
<td colspan="2">--scheduler-extra-args &lt;<!--comma-separated 'key=value' pairs-->逗号分割的 'key=value' 对&gt;</td>
</tr>
<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 &lt;flagname&gt;=&lt;value&gt;
-->
<p>
一组形式为 &lt;flagname&gt;=&lt;value&gt; 的额外参数用来传递给调度器Scheduler
或覆盖其默认设置值
传递给调度器scheduler一组额外的参数或者以 &lt;flagname&gt;=&lt;value&gt; 形式覆盖其默认值。
<p>
</td>
</tr>
@ -254,7 +301,9 @@ A set of extra flags to pass to the Scheduler or override default ones in form o
<!--
Use alternative range of IP address for service VIPs.
-->
<p>
为服务 VIP 选择 IP 地址范围。
</p>
</td>
</tr>
@ -281,7 +330,9 @@ Use alternative range of IP address for service VIPs.
<!--
[EXPERIMENTAL] The path to the 'real' host root filesystem.
-->
<p>
[实验] 指向 '真实' 宿主机的根文件系统的路径。
</p>
</td>
</tr>