Skip to content

Commit dc824d7

Browse files
authored
Merge pull request #37014 from Michelle951/michelle06
[zh] sync kubeadm_init_phase_control-plane_all.md
2 parents f59c6df + 2dfec9f commit dc824d7

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

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

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ kubeadm init phase control-plane all [flags]
2020
<!--
2121
### Examples
2222
23-
2423
```
2524
# Generates all static Pod manifest files for control plane components,
2625
# functionally equivalent to what is generated by kubeadm init.
26+
kubeadm init phase control-plane all
27+
2728
# Generates all static Pod manifest files using options read from a configuration file.
29+
kubeadm init phase control-plane all --config config.yaml
2830
```
2931
-->
3032
### 示例
@@ -173,13 +175,13 @@ Don't apply any changes; just output what would be done.
173175
<tr>
174176
<td></td><td style="line-height: 130%; word-wrap: break-word;">
175177
<!--
176-
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)
178+
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 (default=true)
177179
-->
178180
<p>
179181
一组用来描述各种特性门控的键值(key=value)对。选项是:
180182
<br/>PublicKeysECDSA=true|false (ALPHA - 默认值=false)
181183
<br/>RootlessControlPlane=true|false (ALPHA - 默认值=false)
182-
<br/>UnversionedKubeletConfigMap=true|false (BETA - 默认值=true)
184+
<br/>UnversionedKubeletConfigMap=true|false (默认值=true)
183185
</p>
184186
</td>
185187
</tr>
@@ -201,9 +203,9 @@ all 操作的帮助命令
201203
<tr>
202204
<td colspan="2">
203205
<!--
204-
--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "k8s.gcr.io"
206+
--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default: "registry.k8s.io"
205207
-->
206-
--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"k8s.gcr.io"
208+
--image-repository string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认值:"registry.k8s.io"
207209
</td>
208210
</tr>
209211
<tr>
@@ -242,16 +244,16 @@ Choose a specific Kubernetes version for the control plane.
242244
<tr>
243245
<td></td><td style="line-height: 130%; word-wrap: break-word;">
244246
<!--
245-
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.
247+
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;kubeletconfiguration&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.
246248
-->
247249
<p>
248250
包含名为 &quot;target[suffix][+patchtype].extension&quot; 的文件的目录的路径。
249-
例如,&quot;kube-apiserver0+merge.yaml&quot;或仅仅是 &quot;etcd.json&quot;
250-
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot; 之一。
251+
例如,&quot;kube-apiserver0+merge.yaml&quot;或是简单的 &quot;etcd.json&quot;
252+
&quot;target&quot; 可以是 &quot;kube-apiserver&quot;&quot;kube-controller-manager&quot;&quot;kube-scheduler&quot;&quot;etcd&quot;&quot;kubeletconfiguration&quot; 之一。
251253
&quot;patchtype&quot; 可以是 &quot;strategic&quot;&quot;merge&quot; 或者 &quot;json&quot; 之一,
252-
并且它们与 kubectl 支持的补丁格式相同
254+
并且它们与 kubectl 支持的补丁格式相匹配
253255
默认的 &quot;patchtype&quot;&quot;strategic&quot;
254-
&quot;extension&quot; 必须是&quot;json&quot;&quot;yaml&quot;
256+
&quot;extension&quot; 必须是 &quot;json&quot; &quot;yaml&quot;
255257
&quot;suffix&quot; 是一个可选字符串,可用于确定首先按字母顺序应用哪些补丁。
256258
</p>
257259
</td>

0 commit comments

Comments
 (0)