@@ -56,14 +56,14 @@ following steps:
56
56
APIServer 证书将为任何 ` --apiserver-cert-extra-sans ` 参数值提供附加的 SAN 条目,必要时将其小写。
57
57
58
58
<!--
59
- 1. Writes kubeconfig files in `/etc/kubernetes/` for
60
- the kubelet, the controller-manager and the scheduler to use to connect to the
61
- API server, each with its own identity, as well as an additional
62
- kubeconfig file for administration named ` admin.conf`.
59
+ 1. Writes kubeconfig files in `/etc/kubernetes/` for the kubelet, the controller-manager and the
60
+ scheduler to use to connect to the API server, each with its own identity. Also
61
+ additional kubeconfig files are written, for kubeadm as administrative entity (`admin.conf`)
62
+ and for a super admin user that can bypass RBAC (`super- admin.conf`) .
63
63
-->
64
64
3 . 将 kubeconfig 文件写入 ` /etc/kubernetes/ ` 目录以便 kubelet、控制器管理器和调度器用来连接到
65
- API 服务器,它们每一个都有自己的身份标识,同时生成一个名为 ` admin.conf ` 的独立的 kubeconfig
66
- 文件,用于管理操作 。
65
+ API 服务器,它们每一个都有自己的身份标识。再编写额外的 kubeconfig 文件,将 kubeadm
66
+ 作为管理实体( ` admin.conf ` )和可以绕过 RBAC 的超级管理员用户( ` super-admin.conf ` ) 。
67
67
68
68
<!--
69
69
1. Generates static Pod manifests for the API server,
@@ -303,17 +303,17 @@ List of feature gates:
303
303
{{< table caption="kubeadm feature gates" >}}
304
304
Feature | Default | Alpha | Beta | GA
305
305
:-------|:--------|:------|:-----|:----
306
+ `EtcdLearnerMode` | `true` | 1.27 | 1.29 | -
306
307
`PublicKeysECDSA` | `false` | 1.19 | - | -
307
308
`RootlessControlPlane` | `false` | 1.22 | - | -
308
- `EtcdLearnerMode` | `false` | 1.27 | - | -
309
309
{{< /table >}}
310
310
-->
311
311
{{< table caption="kubeadm 特性门控" >}}
312
312
特性 | 默认值 | Alpha | Beta | GA
313
313
:-------|:--------|:------|:-----|:----
314
+ ` EtcdLearnerMode ` | ` true ` | 1.27 | 1.29 | -
314
315
` PublicKeysECDSA ` | ` false ` | 1.19 | - | -
315
316
` RootlessControlPlane ` | ` false ` | 1.22 | - | -
316
- ` EtcdLearnerMode ` | ` false ` | 1.27 | - | -
317
317
{{< /table >}}
318
318
319
319
{{< note >}}
@@ -328,6 +328,15 @@ Feature gate descriptions:
328
328
-->
329
329
特性门控的描述:
330
330
331
+ <!--
332
+ `EtcdLearnerMode`
333
+ : With this feature gate enabled, when joining a new control plane node, a new etcd member will be created
334
+ as a learner and promoted to a voting member only after the etcd data are fully aligned.
335
+ -->
336
+ ` EtcdLearnerMode `
337
+ : 启用此特性门控后,当加入新的控制平面节点时,将创建一个新的 etcd
338
+ 成员作为学习者(learner),并仅在 etcd 数据完全对齐后进级为投票成员(voting member)。
339
+
331
340
<!--
332
341
`PublicKeysECDSA`
333
342
: Can be used to create a cluster that uses ECDSA certificates instead of the default RSA algorithm.
@@ -352,29 +361,20 @@ you upgrade to a newer version of Kubernetes.
352
361
以非 root 用户身份运行。如果未设置该标志,则这些组件以 root 身份运行。
353
362
你可以在升级到更新版本的 Kubernetes 之前更改此特性门控的值。
354
363
355
- <!--
356
- `EtcdLearnerMode`
357
- : With this feature gate enabled, when joining a new control plane node, a new etcd member will be created
358
- as a learner and promoted to a voting member only after the etcd data are fully aligned.
359
- -->
360
- ` EtcdLearnerMode `
361
- : 启用此特性门控后,当加入新的控制平面节点时,将创建一个新的 etcd
362
- 成员作为学习者(learner),并仅在 etcd 数据完全对齐后进级为投票成员(voting member)。
363
-
364
364
<!--
365
365
List of deprecated feature gates:
366
366
-->
367
367
已弃用特性门控的列表:
368
368
369
369
<!--
370
370
{{< table caption="kubeadm deprecated feature gates" >}}
371
- Feature | Default
371
+ Feature | Default
372
372
:-------|:--------
373
373
`UpgradeAddonsBeforeControlPlane` | `false`
374
374
{{< /table >}}
375
375
-->
376
376
{{< table caption="kubeadm 弃用的特性门控" >}}
377
- 特性 | 默认值
377
+ 特性 | 默认值
378
378
:-------|:--------
379
379
` UpgradeAddonsBeforeControlPlane ` | ` false `
380
380
{{< /table >}}
@@ -429,17 +429,31 @@ List of removed feature gates:
429
429
{{< table caption="kubeadm removed feature gates" >}}
430
430
Feature | Alpha | Beta | GA | Removed
431
431
:-------|:------|:-----|:---|:-------
432
- `UnversionedKubeletConfigMap` | 1.22 | 1.23 | 1.25 | 1.26
433
432
`IPv6DualStack` | 1.16 | 1.21 | 1.23 | 1.24
433
+ `UnversionedKubeletConfigMap` | 1.22 | 1.23 | 1.25 | 1.26
434
434
{{< /table >}}
435
435
-->
436
436
{{< table caption="kubeadm 已移除的特性门控" >}}
437
437
特性 | Alpha | Beta | GA | 移除
438
438
:-------|:------|:-----|:---|:-------
439
- ` UnversionedKubeletConfigMap ` | 1.22 | 1.23 | 1.25 | 1.26
440
439
` IPv6DualStack ` | 1.16 | 1.21 | 1.23 | 1.24
440
+ ` UnversionedKubeletConfigMap ` | 1.22 | 1.23 | 1.25 | 1.26
441
441
{{< /table >}}
442
442
443
+ <!--
444
+ Feature gate descriptions:
445
+ -->
446
+ 特性门控的描述:
447
+
448
+ <!--
449
+ `IPv6DualStack`
450
+ : This flag helps to configure components dual stack when the feature is in progress. For more details on Kubernetes
451
+ dual-stack support see [Dual-stack support with kubeadm](/docs/setup/production-environment/tools/kubeadm/dual-stack-support/).
452
+ -->
453
+ ` IPv6DualStack `
454
+ : 在 IP 双栈特性处于开发过程中时,此标志有助于配置组件的双栈支持。有关 Kubernetes
455
+ 双栈支持的更多详细信息,请参阅 [ kubeadm 的双栈支持] ( /zh-cn/docs/setup/production-environment/tools/kubeadm/dual-stack-support/ ) 。
456
+
443
457
<!--
444
458
`UnversionedKubeletConfigMap`
445
459
: This flag controls the name of the {{< glossary_tooltip text="ConfigMap" term_id="configmap" >}} where kubeadm stores
@@ -463,15 +477,6 @@ if that does not succeed, kubeadm falls back to using the legacy (versioned) nam
463
477
kubeadm 尝试首先使用无版本(后缀)的 ConfigMap 名称;
464
478
如果不成功,kubeadm 将回退到使用该 ConfigMap 的旧(带版本号的)名称。
465
479
466
- <!--
467
- `IPv6DualStack`
468
- : This flag helps to configure components dual stack when the feature is in progress. For more details on Kubernetes
469
- dual-stack support see [Dual-stack support with kubeadm](/docs/setup/production-environment/tools/kubeadm/dual-stack-support/).
470
- -->
471
- ` IPv6DualStack `
472
- : 当前此特性正在推进时,此标志有助于配置组件的 IP 双栈。有关 Kubernetes
473
- 双栈支持的更多详细信息,请参阅 [ kubeadm 的双栈支持] ( /zh-cn/docs/setup/production-environment/tools/kubeadm/dual-stack-support/ ) 。
474
-
475
480
<!--
476
481
### Adding kube-proxy parameters {#kube-proxy}
477
482
@@ -771,12 +776,16 @@ DNS name or an address of a load balancer.
771
776
```
772
777
773
778
<!--
774
- Once the cluster is up, you can grab the admin credentials from the control-plane node
775
- at `/etc/kubernetes/admin.conf` and use that to talk to the cluster.
779
+ Once the cluster is up, you can use the `/etc/kubernetes/admin.conf` file from
780
+ a control-plane node to talk to the cluster with administrator credentials or
781
+ [Generating kubeconfig files for additional users](/docs/tasks/administer-cluster/kubeadm/kubeadm-certs#kubeconfig-additional-users).
776
782
-->
777
783
一旦集群启动起来,你就可以从控制平面节点的 ` /etc/kubernetes/admin.conf ` 文件获取管理凭证,
778
784
并使用这个凭证同集群通信。
779
785
786
+ 一旦集群启动起来,你就可以从控制平面节点中的 ` /etc/kubernetes/admin.conf `
787
+ 文件获取管理凭证或通过[ 为其他用户生成的 kubeconfig 文件] ( /zh-cn/docs/tasks/administer-cluster/kubeadm/kubeadm-certs#kubeconfig-additional-users ) 与集群通信。
788
+
780
789
<!--
781
790
Note that this style of bootstrap has some relaxed security guarantees because
782
791
it does not allow the root CA hash to be validated with
0 commit comments