Skip to content

Commit 0bf578e

Browse files
authored
Merge pull request #33489 from nameYULI/yl10
[zh]Update content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_control-plane_apiserver.md
2 parents 5fef464 + f594221 commit 0bf578e

File tree

1 file changed

+65
-13
lines changed

1 file changed

+65
-13
lines changed

content/zh/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_control-plane_apiserver.md

Lines changed: 65 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
Generates the kube-apiserver static Pod manifest
3+
-->
4+
生成 kube-apiserver 静态 Pod 清单
5+
16
<!--
27
### Synopsis
38
-->
@@ -32,7 +37,9 @@ kubeadm init phase control-plane apiserver [flags]
3237
<!--
3338
The IP address the API Server will advertise it's listening on. If not set the default network interface will be used.
3439
-->
40+
<p>
3541
API 服务器所公布的其正在监听的 IP 地址。如果未设置,将使用默认网络接口。
42+
</p>
3643
</td>
3744
</tr>
3845

@@ -49,20 +56,24 @@ API 服务器所公布的其正在监听的 IP 地址。如果未设置,将使
4956
<!--
5057
Port for the API Server to bind to.
5158
-->
59+
<p>
5260
要绑定到 API 服务器的端口。
61+
</p>
5362
</td>
5463
</tr>
5564

5665
<tr>
57-
<td colspan="2">--apiserver-extra-args mapStringString</td>
66+
<td colspan="2">--apiserver-extra-args <!--&lt;comma-separated 'key=value' pairs&gt;-->&lt;逗号分隔的 'key=value' 对&gt;</td>
5867
</tr>
5968
<tr>
6069
<td></td><td style="line-height: 130%; word-wrap: break-word;">
6170
<!--
6271
A set of extra flags to pass to the API Server or override default ones in form of &lt;flagname&gt;=&lt;value&gt;
6372
-->
73+
<p>
6474
一组 &lt;flagname&gt;=&lt;value&gt; 形式的额外参数,用来传递给 API 服务器
6575
或者覆盖其默认参数配置
76+
</p>
6677
</td>
6778
</tr>
6879

@@ -79,7 +90,9 @@ A set of extra flags to pass to the API Server or override default ones in form
7990
<!--
8091
The path where to save and store the certificates.
8192
-->
93+
<p>
8294
保存和存储证书的路径。
95+
</p>
8396
</td>
8497
</tr>
8598

@@ -91,7 +104,9 @@ The path where to save and store the certificates.
91104
<!--
92105
Path to a kubeadm configuration file.
93106
-->
107+
<p>
94108
kubeadm 配置文件的路径。
109+
</p>
95110
</td>
96111
</tr>
97112

@@ -103,33 +118,39 @@ kubeadm 配置文件的路径。
103118
<!--
104119
Specify a stable IP address or DNS name for the control plane.
105120
-->
121+
<p>
106122
为控制平面指定一个稳定的 IP 地址或 DNS 名称。
123+
</p>
107124
</td>
108125
</tr>
109-
126+
<tr>
127+
<td colspan="2">--dry-run</td>
128+
</tr>
110129
<tr>
111130
<td></td><td style="line-height: 130%; word-wrap: break-word;">
112-
<!--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.-->
113-
包含名为 "target[suffix][+patchtype].extension" 的文件的目录。
114-
例如,"kube-apiserver0+merge.yaml" 或者 "etcd.json"。
115-
"patchtype" 可以是 "strategic"、"merge" 或 "json" 之一,分别与 kubectl
116-
所支持的 patch 格式相匹配。默认的 "patchtype" 是 "strategic"。
117-
"extension" 必须是 "json" 或 "yaml"。
118-
"suffix" 是一个可选的字符串,用来确定按字母顺序排序时首先应用哪些 patch。
131+
<!--
132+
Don't apply any changes; just output what would be done.
133+
-->
134+
<p>
135+
不要应用任何更改;只是输出将要执行的操作。
136+
</p>
119137
</td>
120-
</tr>
138+
</tr>
121139

122140
<tr>
123141
<td colspan="2">--feature-gates string</td>
124142
</tr>
125143
<tr>
126144
<td></td><td style="line-height: 130%; word-wrap: break-word;">
127145
<!--
128-
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)
146+
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)
129147
-->
148+
<p>
130149
一组键值对,用于描述各种功能特性的特性门控。选项是:
131-
<br/>IPv6DualStack=true|false (ALPHA - 默认=false)
132-
<br/>PublicKeysECDSA=true|false (ALPHA - 默认=false)
150+
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
151+
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
152+
<br/>UnversionedKubeletConfigMap=true|false (BETA - 默认值=true)
153+
</p>
133154
</td>
134155
</tr>
135156

@@ -141,7 +162,9 @@ A set of key=value pairs that describe feature gates for various features. Optio
141162
<!--
142163
help for apiserver
143164
-->
165+
<p>
144166
apiserver 操作的帮助命令
167+
</p>
145168
</td>
146169
</tr>
147170

@@ -158,7 +181,9 @@ apiserver 操作的帮助命令
158181
<!--
159182
Choose a container registry to pull control plane images from
160183
-->
184+
<p>
161185
选择要从中拉取控制平面镜像的容器仓库
186+
</p>
162187
</td>
163188
</tr>
164189

@@ -175,7 +200,30 @@ Choose a container registry to pull control plane images from
175200
<!--
176201
Choose a specific Kubernetes version for the control plane.
177202
-->
203+
<p>
178204
为控制平面选择特定的 Kubernetes 版本
205+
</p>
206+
</td>
207+
</tr>
208+
209+
<tr>
210+
<td colspan="2">--patches string</td>
211+
</tr>
212+
<tr>
213+
<td></td><td style="line-height: 130%; word-wrap: break-word;">
214+
<!--
215+
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.
216+
-->
217+
<p>
218+
包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
219+
例如,&quot;kube-apiserver0+merge.yaml&quot;或仅仅是 &quot;etcd.json&quot;
220+
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot; 之一。
221+
&quot;patchtype&quot; 可以是 &quot;strategic&quot;&quot;merge&quot; 或者 &quot;json&quot; 之一,
222+
并且它们与 kubectl 支持的补丁格式相同。
223+
默认的 &quot;patchtype&quot;&quot;strategic&quot;
224+
&quot;extension&quot; 必须是&quot;json&quot;&quot;yaml&quot;
225+
&quot;suffix&quot; 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
226+
</p>
179227
</td>
180228
</tr>
181229

@@ -192,7 +240,9 @@ Choose a specific Kubernetes version for the control plane.
192240
<!--
193241
Use alternative range of IP address for service VIPs.
194242
-->
243+
<p>
195244
指定服务 VIP 使用 IP 地址的其他范围。
245+
</p>
196246
</td>
197247
</tr>
198248

@@ -221,7 +271,9 @@ Use alternative range of IP address for service VIPs.
221271
<!--
222272
[EXPERIMENTAL] The path to the 'real' host root filesystem.
223273
-->
274+
<p>
224275
[实验] 到 '真实' 主机根文件系统路径。
276+
</p>
225277
</td>
226278
</tr>
227279

0 commit comments

Comments
 (0)