File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
content/zh-cn/docs/tasks/administer-cluster Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,17 @@ weight: 270
21
21
22
22
{{< include "task-tutorial-prereqs.md" >}} {{< version-check >}}
23
23
24
+ <!--
25
+ You need to have a Kubernetes cluster, and the kubectl command-line tool must
26
+ be configured to communicate with your cluster. It is recommended to run this
27
+ task on a cluster with at least two nodes that are not acting as control plane
28
+ nodes . If you do not already have a cluster, you can create one by using
29
+ [minikube](https://minikube.sigs.k8s.io/docs/tutorials/multi_node/).
30
+ -->
31
+ 你需要有一个 Kubernetes 集群,并且必须配置 kubectl 命令行工具以与你的集群通信。
32
+ 建议在至少有两个不充当控制平面的节点上运行此任务。如果你还没有集群,
33
+ 你可以使用 [ minikube] ( https://minikube.sigs.k8s.io/docs/tutorials/multi_node/ ) 创建一个。
34
+
24
35
<!-- steps -->
25
36
26
37
<!--
Original file line number Diff line number Diff line change @@ -607,13 +607,14 @@ IP 或域名请求服务证书。
607
607
During cluster creation, kubeadm signs the certificate in the `admin.conf` to have
608
608
`Subject : O = system:masters, CN = kubernetes-admin`.
609
609
[`system:masters`](/docs/reference/access-authn-authz/rbac/#user-facing-roles)
610
- is a break-glass, super user group that bypasses the authorization layer (e.g. RBAC).
610
+ is a break-glass, super user group that bypasses the authorization layer (for example,
611
+ [RBAC](/docs/reference/access-authn-authz/rbac/)).
611
612
Sharing the `admin.conf` with additional users is **not recommended**!
612
613
-->
613
614
在集群创建过程中,kubeadm 对 `admin.conf` 中的证书进行签名时,将其配置为
614
615
`Subject : O = system:masters, CN = kubernetes-admin`。
615
616
[`system:masters`](/zh-cn/docs/reference/access-authn-authz/rbac/#user-facing-roles)
616
- 是一个例外的超级用户组,可以绕过鉴权层(例如 RBAC)。
617
+ 是一个例外的超级用户组,可以绕过鉴权层(例如 [ RBAC](/zh-cn/docs/reference/access-authn-authz/rbac/) )。
617
618
强烈建议不要将 `admin.conf` 文件与任何人共享。
618
619
619
620
<!--
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ You will need to have the following tools installed:
22
22
23
23
- `cosign` ([install guide](https://docs.sigstore.dev/cosign/installation/))
24
24
- `curl` (often provided by your operating system)
25
- - `jq` ([download jq](https://stedolan .github.io/jq/download/))
25
+ - `jq` ([download jq](https://jqlang .github.io/jq/download/))
26
26
-->
27
27
你需要安装以下工具:
28
28
29
29
- ` cosign ` ([ 安装指南] ( https://docs.sigstore.dev/cosign/installation/ ) )
30
30
- ` curl ` (通常由你的操作系统提供)
31
- - ` jq ` ([ 下载 jq] ( https://stedlan .github.io/jq/download/ ) )
31
+ - ` jq ` ([ 下载 jq] ( https://jqlang .github.io/jq/download/ ) )
32
32
33
33
34
34
<!--
You can’t perform that action at this time.
0 commit comments