@@ -13,11 +13,13 @@ auto_generated: true
13
13
-->
14
14
<!--
15
15
<h2>Overview</h2>
16
+ <p>Package v1beta2 has been DEPRECATED by v1beta3.</p>
16
17
<p>Package v1beta2 defines the v1beta2 version of the kubeadm configuration file format.
17
18
This version improves on the v1beta1 format by fixing some minor issues and adding a few new fields.</p>
18
19
<p>A list of changes since v1beta1:</p>
19
20
-->
20
21
<h2 >概述</h2 >
22
+ <p >包 v1beta2 已被 v1beta3 所弃用。</p >
21
23
22
24
<p >包 v1beta2 定义 kubeadm 配置文件格式的 v1beta2 版本。
23
25
此版本改进了 v1beta1 的格式,修复了一些小问题并添加了一些新的字段。</p >
@@ -43,15 +45,15 @@ This version improves on the v1beta1 format by fixing some minor issues and addi
43
45
<p >参阅 Kubernetes 1.15 的变更记录以了解详细信息。</p >
44
46
45
47
<!--
46
- <p >Migration from old kubeadm config versions</p >
48
+ <h1 >Migration from old kubeadm config versions</h1 >
47
49
<p>Please convert your v1beta1 configuration files to v1beta2 using the "kubeadm config migrate" command of kubeadm v1.15.x
48
50
(conversion from older releases of kubeadm config files requires older release of kubeadm as well e.g.</p>
49
51
<ul>
50
52
<li>kubeadm v1.11 should be used to migrate v1alpha1 to v1alpha2; kubeadm v1.12 should be used to translate v1alpha2 to v1alpha3;</li>
51
53
<li>kubeadm v1.13 or v1.14 should be used to translate v1alpha3 to v1beta1)</li>
52
54
</ul>
53
55
-->
54
- <p >从老的 kubeadm 配置版本迁移:</p >
56
+ <h1 >从老的 kubeadm 配置版本迁移:</h1 >
55
57
<p >请使用 kubeadm v1.15.x 的 " ; kubeadm config migrate" ; 命令将 v1beta1
56
58
版本的配置文件转换为 v1beta2。
57
59
(从更老版本的 kubeadm 配置文件迁移需要使用更老版本的 kubeadm。例如:</p >
@@ -169,7 +171,7 @@ use it to customize the node name, the CRI socket to use or any other settings t
169
171
node only (e.g. the node ip).</p>
170
172
</li>
171
173
<li>
172
- <p><code>apiServer </code>, that represents the endpoint of the instance of the API server to be deployed on this node;
174
+ <p><code>localAPIEndpoint </code>, that represents the endpoint of the instance of the API server to be deployed on this node;
173
175
use it e.g. to customize the API server advertise address.</p>
174
176
</li>
175
177
</ul>
@@ -181,20 +183,20 @@ use it e.g. to customize the API server advertise address.</p>
181
183
<li ><code >nodeRegistration</code >:其中包含与向集群注册新节点相关的字段;
182
184
使用这个类型来定制节点名称、要使用的 CRI 套接字或者其他仅对当前节点起作用的设置
183
185
(例如节点 IP 地址)。</li >
184
- <li ><code >apiServer </code >:代表的是要部署到此节点上的 API 服务器示例的端点;
186
+ <li ><code >localAPIEndpoint </code >:代表的是要部署到此节点上的 API 服务器示例的端点;
185
187
使用这个类型可以完成定制 API 服务器公告地址这类操作。</li >
186
188
</ul >
187
189
188
190
<pre style =" background-color :#fff " ><span style =" color :#000 ;font-weight :bold " >apiVersion</span >:<span style =" color :#bbb " > </span >kubeadm.k8s.io/v1beta2<span style =" color :#bbb " >
189
191
</span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >kind</span >:<span style =" color :#bbb " > </span >ClusterConfiguration<span style =" color :#bbb " >
190
192
</span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >networking</span >:<span style =" color :#bbb " >
191
- </span ><span style =" color :#bbb " > </span >...<span style =" color :#bbb " >
193
+ </span ><span style =" color :#bbb " > </span >...<span style =" color :#bbb " >
192
194
</span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >etcd</span >:<span style =" color :#bbb " >
193
- </span ><span style =" color :#bbb " > </span >...<span style =" color :#bbb " >
195
+ </span ><span style =" color :#bbb " > </span >...<span style =" color :#bbb " >
194
196
</span ><span style =" color :#bbb " ></span ><span style =" color :#000 ;font-weight :bold " >apiServer</span >:<span style =" color :#bbb " >
195
- </span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >extraArgs</span >:<span style =" color :#bbb " >
196
- </span ><span style =" color :#bbb " > </span >...<span style =" color :#bbb " >
197
- </span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >extraVolumes</span >:<span style =" color :#bbb " >
197
+ </span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >extraArgs</span >:<span style =" color :#bbb " >
198
+ </span ><span style =" color :#bbb " > </span >...<span style =" color :#bbb " >
199
+ </span ><span style =" color :#bbb " > </span ><span style =" color :#000 ;font-weight :bold " >extraVolumes</span >:<span style =" color :#bbb " >
198
200
</span ><span style =" color :#bbb " > </span >...<span style =" color :#bbb " >
199
201
</span ><span style =" color :#bbb " ></span >...<span style =" color :#bbb " >
200
202
</span ></pre >
@@ -395,12 +397,12 @@ are the discovery method used for accessing the cluster info and all the setting
395
397
to the node where kubeadm is executed, including:</p>
396
398
<ul>
397
399
<li>
398
- <p><code>NodeRegistration </code>, that holds fields that relate to registering the new node to the cluster;
400
+ <p><code>nodeRegistration </code>, that holds fields that relate to registering the new node to the cluster;
399
401
use it to customize the node name, the CRI socket to use or any other settings that should apply to this
400
402
node only (e.g. the node IP).</p>
401
403
</li>
402
404
<li>
403
- <p><code>APIEndpoint </code>, that represents the endpoint of the instance of the API server to be eventually deployed on this node.</p>
405
+ <p><code>apiEndpoint </code>, that represents the endpoint of the instance of the API server to be eventually deployed on this node.</p>
404
406
</li>
405
407
</ul>
406
408
-->
@@ -426,8 +428,8 @@ node only (e.g. the node IP).</p>
426
428
- [ InitConfiguration] ( #kubeadm-k8s-io-v1beta2-InitConfiguration )
427
429
- [ JoinConfiguration] ( #kubeadm-k8s-io-v1beta2-JoinConfiguration )
428
430
429
- ## ` ClusterConfiguration ` {#kubeadm-k8s-io-v1beta2-ClusterConfiguration}
430
-
431
+ ## ` ClusterConfiguration ` {#kubeadm-k8s-io-v1beta2-ClusterConfiguration}
432
+
431
433
<!--
432
434
<p>ClusterConfiguration contains cluster-wide configuration for a kubeadm cluster</p>
433
435
-->
@@ -617,8 +619,8 @@ when this set to true, and at some point it may become ignored.</p>
617
619
</tbody >
618
620
</table >
619
621
620
- ## ` ClusterStatus ` {#kubeadm-k8s-io-v1beta2-ClusterStatus}
621
-
622
+ ## ` ClusterStatus ` {#kubeadm-k8s-io-v1beta2-ClusterStatus}
623
+
622
624
<!--
623
625
<p>ClusterStatus contains the cluster status. The ClusterStatus will be stored in
624
626
the kubeadm-config ConfigMap in the cluster, and then updated by kubeadm when
@@ -650,8 +652,8 @@ The key of the map is the IP of the host's default interface.</p>
650
652
</tbody >
651
653
</table >
652
654
653
- ## ` InitConfiguration ` {#kubeadm-k8s-io-v1beta2-InitConfiguration}
654
-
655
+ ## ` InitConfiguration ` {#kubeadm-k8s-io-v1beta2-InitConfiguration}
656
+
655
657
<!--
656
658
<p>InitConfiguration contains a list of elements that is specific "kubeadm init"-only runtime
657
659
information.</p>
@@ -790,8 +792,8 @@ on the joining node. If nil, no additional control plane instance will be deploy
790
792
</tbody >
791
793
</table >
792
794
793
- ## ` APIEndpoint ` {#kubeadm-k8s-io-v1beta2-APIEndpoint}
794
-
795
+ ## ` APIEndpoint ` {#kubeadm-k8s-io-v1beta2-APIEndpoint}
796
+
795
797
<!--
796
798
**Appears in:**
797
799
-->
@@ -838,8 +840,8 @@ Defaults to 6443.</p>
838
840
</tbody >
839
841
</table >
840
842
841
- ## ` APIServer ` {#kubeadm-k8s-io-v1beta2-APIServer}
842
-
843
+ ## ` APIServer ` {#kubeadm-k8s-io-v1beta2-APIServer}
844
+
843
845
<!--
844
846
**Appears in:**
845
847
-->
@@ -907,7 +909,6 @@ to appear.</p>
907
909
908
910
- [ InitConfiguration] ( #kubeadm-k8s-io-v1beta2-InitConfiguration )
909
911
910
-
911
912
<!-- p>BootstrapToken describes one bootstrap token, stored as a Secret in the cluster</p-->
912
913
<p >BootstrapToken 描述的是一个启动引导令牌,以 Secret 形式存储在集群中。</p >
913
914
@@ -946,7 +947,7 @@ for, so other administrators can know its purpose.</p-->
946
947
</td >
947
948
</tr >
948
949
<tr ><td ><code >expires</code > <B ><!-- [Required]--> [必需]</B ><br />
949
- <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23 /#time-v1-meta " ><code >meta/v1.Time</code ></a >
950
+ <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26 /#time-v1-meta " ><code >meta/v1.Time</code ></a >
950
951
</td >
951
952
<td >
952
953
<!-- p><code>expires</code> specifies the timestamp when this token expires. Defaults to being set
@@ -1102,8 +1103,8 @@ of view and as an authentication method for the node in the bootstrap phase of
1102
1103
</tbody >
1103
1104
</table >
1104
1105
1105
- ## ` ControlPlaneComponent ` {#kubeadm-k8s-io-v1beta2-ControlPlaneComponent}
1106
-
1106
+ ## ` ControlPlaneComponent ` {#kubeadm-k8s-io-v1beta2-ControlPlaneComponent}
1107
+
1107
1108
<!--
1108
1109
**Appears in:**
1109
1110
-->
@@ -1154,16 +1155,15 @@ without leading dash(es).
1154
1155
</tbody >
1155
1156
</table >
1156
1157
1157
- ## ` DNS ` {#kubeadm-k8s-io-v1beta2-DNS}
1158
-
1158
+ ## ` DNS ` {#kubeadm-k8s-io-v1beta2-DNS}
1159
+
1159
1160
<!--
1160
1161
**Appears in:**
1161
1162
-->
1162
1163
** 出现在:**
1163
1164
1164
1165
- [ ClusterConfiguration] ( #kubeadm-k8s-io-v1beta2-ClusterConfiguration )
1165
1166
1166
-
1167
1167
<p >
1168
1168
<!--
1169
1169
DNS defines the DNS addon that should be used in the cluster
@@ -1204,7 +1204,7 @@ DNS 结构定义要在集群中使用的 DNS 插件。
1204
1204
1205
1205
## ` DNSAddOnType ` {#kubeadm-k8s-io-v1beta2-DNSAddOnType}
1206
1206
1207
- <!--
1207
+ <!--
1208
1208
(Alias of `string`)
1209
1209
1210
1210
**Appears in:**
@@ -1220,8 +1220,8 @@ DNS 结构定义要在集群中使用的 DNS 插件。
1220
1220
-->
1221
1221
<p >DNSAddOnType 定义的是用来辨识 DNS 插件类型的字符串。</p >
1222
1222
1223
- ## ` Discovery ` {#kubeadm-k8s-io-v1beta2-Discovery}
1224
-
1223
+ ## ` Discovery ` {#kubeadm-k8s-io-v1beta2-Discovery}
1224
+
1225
1225
<!--
1226
1226
**Appears in:**
1227
1227
-->
@@ -1303,8 +1303,8 @@ contain any other authentication information.
1303
1303
</tbody >
1304
1304
</table >
1305
1305
1306
- ## ` Etcd ` {#kubeadm-k8s-io-v1beta2-Etcd}
1307
-
1306
+ ## ` Etcd ` {#kubeadm-k8s-io-v1beta2-Etcd}
1307
+
1308
1308
<!--
1309
1309
**Appears in:**
1310
1310
-->
@@ -1354,8 +1354,8 @@ Etcd 包含用来描述 etcd 配置的元素。
1354
1354
</tbody >
1355
1355
</table >
1356
1356
1357
- ## ` ExternalEtcd ` {#kubeadm-k8s-io-v1beta2-ExternalEtcd}
1358
-
1357
+ ## ` ExternalEtcd ` {#kubeadm-k8s-io-v1beta2-ExternalEtcd}
1358
+
1359
1359
<!--
1360
1360
**Appears in:**
1361
1361
-->
@@ -1381,9 +1381,9 @@ kubeadm 不清楚证书文件的存放位置,因此必须单独提供证书信
1381
1381
</td >
1382
1382
<td >
1383
1383
<!--
1384
- <p><code>endpoints</code> of etcd members.</p>
1384
+ <p><code>endpoints</code> of etcd members. Required for external etcd. </p>
1385
1385
-->
1386
- <p ><code >endpoints</code > 包含一组 etcd 成员的列表。</p >
1386
+ <p ><code >endpoints</code > 包含一组 etcd 成员的列表。外部 etcd 需要。 </p >
1387
1387
</td >
1388
1388
</tr >
1389
1389
<tr ><td ><code >caFile</code > <B ><!-- [Required]--> [必需]</B ><br />
@@ -1426,8 +1426,8 @@ Required if using a TLS connection.</p>
1426
1426
</tbody >
1427
1427
</table >
1428
1428
1429
- ## ` FileDiscovery ` {#kubeadm-k8s-io-v1beta2-FileDiscovery}
1430
-
1429
+ ## ` FileDiscovery ` {#kubeadm-k8s-io-v1beta2-FileDiscovery}
1430
+
1431
1431
<!--
1432
1432
**Appears in:**
1433
1433
-->
@@ -1461,8 +1461,8 @@ file from which to load cluster information.</p>
1461
1461
</tbody >
1462
1462
</table >
1463
1463
1464
- ## ` HostPathMount ` {#kubeadm-k8s-io-v1beta2-HostPathMount}
1465
-
1464
+ ## ` HostPathMount ` {#kubeadm-k8s-io-v1beta2-HostPathMount}
1465
+
1466
1466
<!--
1467
1467
**Appears in:**
1468
1468
-->
@@ -1511,7 +1511,7 @@ file from which to load cluster information.</p>
1511
1511
</td >
1512
1512
</tr >
1513
1513
<tr ><td ><code >pathType</code > <B ><!-- [Required]--> [必需]</B ><br />
1514
- <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23 /#hostpathtype-v1-core " ><code >core/v1.HostPathType</code ></a >
1514
+ <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26 /#hostpathtype-v1-core " ><code >core/v1.HostPathType</code ></a >
1515
1515
</td >
1516
1516
<td >
1517
1517
<!-- p><code>pathType</code> is the type of the HostPath.</p-->
@@ -1521,8 +1521,8 @@ file from which to load cluster information.</p>
1521
1521
</tbody >
1522
1522
</table >
1523
1523
1524
- ## ` ImageMeta ` {#kubeadm-k8s-io-v1beta2-ImageMeta}
1525
-
1524
+ ## ` ImageMeta ` {#kubeadm-k8s-io-v1beta2-ImageMeta}
1525
+
1526
1526
<!--
1527
1527
**Appears in:**
1528
1528
-->
@@ -1609,8 +1609,8 @@ Secret 中的证书的秘钥。对应的加密秘钥在 InitConfiguration 结构
1609
1609
</tbody >
1610
1610
</table >
1611
1611
1612
- ## ` LocalEtcd ` {#kubeadm-k8s-io-v1beta2-LocalEtcd}
1613
-
1612
+ ## ` LocalEtcd ` {#kubeadm-k8s-io-v1beta2-LocalEtcd}
1613
+
1614
1614
<!--
1615
1615
**Appears in:**
1616
1616
-->
@@ -1693,8 +1693,8 @@ signing certificate.</p>
1693
1693
</tbody >
1694
1694
</table >
1695
1695
1696
- ## ` Networking ` {#kubeadm-k8s-io-v1beta2-Networking}
1697
-
1696
+ ## ` Networking ` {#kubeadm-k8s-io-v1beta2-Networking}
1697
+
1698
1698
<!--
1699
1699
**Appears in:**
1700
1700
-->
@@ -1742,8 +1742,8 @@ signing certificate.</p>
1742
1742
</tbody >
1743
1743
</table >
1744
1744
1745
- ## ` NodeRegistrationOptions ` {#kubeadm-k8s-io-v1beta2-NodeRegistrationOptions}
1746
-
1745
+ ## ` NodeRegistrationOptions ` {#kubeadm-k8s-io-v1beta2-NodeRegistrationOptions}
1746
+
1747
1747
<!--
1748
1748
**Appears in:**
1749
1749
-->
@@ -1793,7 +1793,7 @@ be annotated to the Node API object, for later re-use.</p>
1793
1793
</td >
1794
1794
</tr >
1795
1795
<tr ><td ><code >taints</code > <B ><!-- [Required]--> [必需]</B ><br />
1796
- <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23 /#taint-v1-core " ><code >[ ] core/v1.Taint</code ></a >
1796
+ <a href =" https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26 /#taint-v1-core " ><code >[ ] core/v1.Taint</code ></a >
1797
1797
</td >
1798
1798
<td >
1799
1799
<!--
@@ -1843,4 +1843,3 @@ the current node is registered.</p>
1843
1843
</tr >
1844
1844
</tbody >
1845
1845
</table >
1846
-
0 commit comments