@@ -6,13 +6,13 @@ content_type: task
6
6
weight : 30
7
7
---
8
8
9
- <!-- ---
9
+ <!--
10
10
reviewers:
11
11
- sig-cluster-lifecycle
12
12
title: Creating a cluster with kubeadm
13
13
content_type: task
14
14
weight: 30
15
- --- -- >
15
+ -->
16
16
17
17
<!-- overview -->
18
18
@@ -346,6 +346,20 @@ Alternatively, if you are the `root` user, you can run:
346
346
export KUBECONFIG=/etc/kubernetes/admin.conf
347
347
```
348
348
349
+ {{< warning >}}
350
+ <!--
351
+ Kubeadm signs the certificate in the `admin.conf` to have `Subject: O = system:masters, CN = kubernetes-admin`.
352
+ `system:masters` is a break-glass, super user group that bypasses the authorization layer (e.g. RBAC).
353
+ Do not share the `admin.conf` file with anyone and instead grant users custom permissions by generating
354
+ them a kubeconfig file using the `kubeadm kubeconfig user` command.
355
+ -->
356
+ kubeadm 对 ` admin.conf ` 中的证书进行签名时,将其配置为
357
+ ` Subject: O = system:masters, CN = kubernetes-admin ` 。
358
+ ` system:masters ` 是一个例外的、超级用户组,可以绕过鉴权层(例如 RBAC)。
359
+ 不要将 ` admin.conf ` 文件与任何人共享,应该使用 ` kubeadm kubeconfig user `
360
+ 命令为其他用户生成 kubeconfig 文件,完成对他们的定制授权。
361
+ {{< /warning >}}
362
+
349
363
<!--
350
364
Make a record of the `kubeadm join` command that `kubeadm init` outputs. You
351
365
need this command to [join nodes to your cluster](#join-nodes).
@@ -428,13 +442,14 @@ Cluster DNS (CoreDNS) will not start up before a network is installed.**
428
442
{{< /caution >}}
429
443
430
444
<!--
431
- Currently Calico is the only CNI plugin that the kubeadm project performs e2e tests against .
445
+ Kubeadm should be CNI agnostic and the validation of CNI providers is out of the scope of our current e2e testing .
432
446
If you find an issue related to a CNI plugin you should log a ticket in its respective issue
433
447
tracker instead of the kubeadm or kubernetes issue trackers.
434
448
-->
435
449
{{< note >}}
436
- 目前 Calico 是 kubeadm 项目中执行 e2e 测试的唯一 CNI 插件。
437
- 如果你发现与 CNI 插件相关的问题,应在其各自的问题跟踪器中记录而不是在 kubeadm 或 kubernetes 问题跟踪器中记录。
450
+ kubeadm 应该是与 CNI 无关的,对 CNI 驱动进行验证目前不在我们的端到端测试范畴之内。
451
+ 如果你发现与 CNI 插件相关的问题,应在其各自的问题跟踪器中记录而不是在 kubeadm
452
+ 或 kubernetes 问题跟踪器中记录。
438
453
{{< /note >}}
439
454
440
455
<!--
0 commit comments