@@ -52,8 +52,8 @@ The value must be one of "Always", "Never" or "IfNotPre
52
52
"IfNotPresent" is the default, which has been the existing behavior prior to this addition.</li>
53
53
<li>Add "InitConfiguration.Patches.Directory", "JoinConfiguration.Patches.Directory" to allow
54
54
the user to configure a directory from which to take patches for components deployed by kubeadm.</li>
55
- <li>Move the BootstrapToken∗ API and related utilities out of the "kubeadm" API group to a new group
56
- "bootstraptoken". The kubeadm API version v1beta3 no longer contains the BootstrapToken∗ structures.</li>
55
+ <li>Move the BootstrapToken* API and related utilities out of the "kubeadm" API group to a new group
56
+ "bootstraptoken". The kubeadm API version v1beta3 no longer contains the BootstrapToken* structures.</li>
57
57
-->
58
58
<li >添加了 " ; InitConfiguration.nodeRegistration.imagePullPolicy" ; 和
59
59
" ; JoinConfiguration.nodeRegistration.imagePullPolicy" ;
@@ -63,9 +63,9 @@ the user to configure a directory from which to take patches for components depl
63
63
<li >添加了 " ; InitConfiguration.patches.directory" ; ,
64
64
" ; JoinConfiguration.patches.directory" ; 以允许用户配置一个目录,
65
65
kubeadm 将从该目录中提取组件的补丁包。</li >
66
- <li >BootstrapToken& lowast ; API 和相关的工具被从 " ; kubeadm" ; API 组中移出,
66
+ <li >BootstrapToken* API 和相关的工具被从 " ; kubeadm" ; API 组中移出,
67
67
放到一个新的 " ; bootstraptoken" ; 组中。kubeadm API 版本 v1beta3 不再包含
68
- BootstrapToken& lowast ; 结构。</li >
68
+ BootstrapToken* 结构。</li >
69
69
</ul >
70
70
<!--
71
71
<p>Migration from old kubeadm config versions</p>
@@ -165,8 +165,8 @@ between InitConfiguration and ClusterConfiguration is mandatory.</p>
165
165
<h2 >kubeadm init 配置类型</h2 >
166
166
167
167
<p >当带有 <code >--config</code > 选项来执行 kubeadm init 命令时,可以使用下面的配置类型:
168
- ` InitConfiguration ` 、 ` ClusterConfiguration ` 、 ` KubeProxyConfiguration ` 、 ` KubeletConfiguration ` ,
169
- 但 ` InitConfiguration ` 和 ` ClusterConfiguration `
168
+ < code > InitConfiguration</ code >、< code > ClusterConfiguration</ code >、< code > KubeProxyConfiguration</ code >、< code > KubeletConfiguration</ code > ,
169
+ 但 < code > InitConfiguration</ code > 和 < code > ClusterConfiguration</ code >
170
170
之间只有一个是必须提供的。</p >
171
171
172
172
<pre style =" background-color :#fff " ><span style =" color :#000 ;font-weight :bold " >apiVersion</span >:<span style =" color :#bbb " > </span >kubeadm.k8s.io/v1beta3<span style =" color :#bbb " >
@@ -225,7 +225,7 @@ including settings for:</p>
225
225
Pod subnet or services subnet.</p>
226
226
</li>
227
227
-->
228
- <p >类型 ` ClusterConfiguration` 用来定制集群范围的设置,具体包括以下设置:</p >
228
+ <p >类型 < code > ClusterConfiguration</ code > 用来定制集群范围的设置,具体包括以下设置:</p >
229
229
230
230
<ul >
231
231
<li ><p ><code >networking</code >:其中包含集群的网络拓扑配置。使用这一部分可以定制 Pod 的
@@ -332,7 +332,7 @@ https://godoc.org/k8s.io/kubelet/config/v1beta1#KubeletConfiguration。</p>
332
332
</span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >etcd</span >:<span style =" color :#bbb " >
333
333
</span ><span style =" color :#bbb " > </span ><span style =" color :#998 ;font-style :italic " ># one of local or external</span ><span style =" color :#bbb " >
334
334
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >local</span >:<span style =" color :#bbb " >
335
- </span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >imageRepository</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; k8s.gcr .io" ; </span ><span style =" color :#bbb " >
335
+ </span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >imageRepository</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; registry.k8s .io" ; </span ><span style =" color :#bbb " >
336
336
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >imageTag</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; 3.2.24" ; </span ><span style =" color :#bbb " >
337
337
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >dataDir</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; /var/lib/etcd" ; </span ><span style =" color :#bbb " >
338
338
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >extraArgs</span >:<span style =" color :#bbb " >
@@ -386,7 +386,7 @@ https://godoc.org/k8s.io/kubelet/config/v1beta1#KubeletConfiguration。</p>
386
386
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >readOnly</span >:<span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >false</span ><span style =" color :#bbb " >
387
387
</span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >pathType</span >:<span style =" color :#bbb " > </span >File<span style =" color :#bbb " >
388
388
</span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >certificatesDir</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; /etc/kubernetes/pki" ; </span ><span style =" color :#bbb " >
389
- </span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >imageRepository</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; k8s.gcr .io" ; </span ><span style =" color :#bbb " >
389
+ </span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >imageRepository</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; registry.k8s .io" ; </span ><span style =" color :#bbb " >
390
390
</span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >clusterName</span >:<span style =" color :#bbb " > </span ><span style =" color :#d14 " >" ; example-cluster" ; </span ><span style =" color :#bbb " >
391
391
</span ><span style =" color :#bbb " ></span >---<span style =" color :#bbb " >
392
392
</span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >apiVersion</span >:<span style =" color :#bbb " > </span >kubelet.config.k8s.io/v1beta1<span style =" color :#bbb " >
@@ -584,16 +584,16 @@ be used for assigning a stable DNS to the control plane.</li>
584
584
<td >
585
585
<!--
586
586
<p><code>imageRepository</code> sets the container registry to pull images from.
587
- If empty, <code>k8s.gcr .io</code> will be used by default.
587
+ If empty, <code>registry.k8s .io</code> will be used by default.
588
588
In case of kubernetes version is a CI build (kubernetes version starts with <code>ci/</code>)
589
589
<code>gcr.io/k8s-staging-ci-images</code> will be used as a default for control plane components
590
- and for kube-proxy, while <code>k8s.gcr .io</code> will be used for all the other images.</p>
590
+ and for kube-proxy, while <code>registry.k8s .io</code> will be used for all the other images.</p>
591
591
-->
592
592
<p ><code >imageRepository</code > 设置用来拉取镜像的容器仓库。
593
- 如果此字段为空,默认使用 <code >k8s.gcr .io</code >。
593
+ 如果此字段为空,默认使用 <code >registry.k8s .io</code >。
594
594
当 Kubernetes 用来执行 CI 构造时(Kubernetes 版本以 <code >ci/</code > 开头),
595
595
将默认使用 <code >gcr.io/k8s-staging-ci-images</code > 来拉取控制面组件镜像,
596
- 而使用 <code >k8s.gcr .io</code > 来拉取所有其他镜像。</p >
596
+ 而使用 <code >registry.k8s .io</code > 来拉取所有其他镜像。</p >
597
597
</td >
598
598
</tr >
599
599
<tr ><td ><code >featureGates</code ><br />
@@ -1861,7 +1861,7 @@ of view and as an authentication method for the node in the bootstrap phase of
1861
1861
<thead ><tr ><th width =" 30% " ><!-- Field--> 字段</th ><th ><!-- Description--> 描述</th ></tr ></thead >
1862
1862
<tbody >
1863
1863
1864
- <tr ><td ><code >id </code > <B ><!-- [Required]--> [必需]</B ><br />
1864
+ <tr ><td ><code >- </code > <B ><!-- [Required]--> [必需]</B ><br />
1865
1865
<code >string</code >
1866
1866
</td >
1867
1867
<td >
@@ -1870,7 +1870,7 @@ of view and as an authentication method for the node in the bootstrap phase of
1870
1870
1871
1871
</td >
1872
1872
</tr >
1873
- <tr ><td ><code >secret </code > <B ><!-- [Required]--> [必需]</B ><br />
1873
+ <tr ><td ><code >- </code > <B ><!-- [Required]--> [必需]</B ><br />
1874
1874
<code >string</code >
1875
1875
</td >
1876
1876
<td >
0 commit comments