[zh]: optimize translation for content/zh/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm.md

pull/33729/head
zaunist 2022-05-16 18:37:39 +08:00
parent 2ba7742b09
commit 59527046ac
1 changed files with 6 additions and 4 deletions

View File

@ -205,7 +205,7 @@ a provider-specific value. See [Installing a Pod network add-on](#pod-network).
端点可以是负载均衡器的 DNS 名称或 IP 地址。
1. 选择一个 Pod 网络插件,并验证是否需要为 `kubeadm init` 传递参数。
根据你选择的第三方网络插件,你可能需要设置 `--pod-network-cidr` 的值。
请参阅 [安装Pod网络附加组件](#pod-network)。
请参阅[安装 Pod 网络附加组件](#pod-network)。
<!--
1. (Optional) `kubeadm` tries to detect the container runtime by using a list of well
@ -218,7 +218,7 @@ to `kubeadm init`. To deploy an IPv6 Kubernetes cluster using IPv6 addressing, y
must specify an IPv6 address, for example `--apiserver-advertise-address=fd00::101`
-->
1. (可选)`kubeadm` 试图通过使用已知的端点列表来检测容器运行时。
者如果在预配置的节点上安装了多个容器,请为 `kubeadm init` 指定 `--cri-socket` 参数。
使用不同的容器运行时或在预配置的节点上安装了多个容器运行时,请为 `kubeadm init` 指定 `--cri-socket` 参数。
请参阅[安装运行时](/zh/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#installing-runtime)。
1. (可选)除非另有说明,否则 `kubeadm` 使用与默认网关关联的网络接口来设置此控制平面节点 API server 的广播地址。
要使用其他网络接口,请为 `kubeadm init` 设置 `--apiserver-advertise-address=<ip-address>` 参数。
@ -537,7 +537,7 @@ and ensure it is using a privileged kubeconfig such as the kubeadm managed `/etc
默认情况下kubeadm 启用 [NodeRestriction](/zh/docs/reference/access-authn-authz/admissiontrollers/#noderestriction)
准入控制器来限制 kubelets 在节点注册时可以应用哪些标签。准入控制器文档描述 kubelet `--node-labels` 选项允许使用哪些标签。
其中 `node-role.kubernetes.io/control-plane` 标签就是这样一个受限制的标签,
kubeadm 在节点创建后使用特权客户端应用此标签。
kubeadm 在节点创建后使用特权客户端手动应用此标签。
你可以使用一个有特权的 kubeconfig, 比如由 kubeadm 管理的 `/etc/kubernetes/admin.conf`
通过执行 `kubectl label` 来手动完成操作。
@ -572,7 +572,9 @@ This will remove the `node-role.kubernetes.io/control-plane` and
including the control plane nodes, meaning that the scheduler will then be able
to schedule Pods everywhere.
-->
这将从任何拥有 `node-role.kubernetes.io/master` taint 标记的节点中移除该标记,
这将从任何拥有 `node-role.kubernetes.io/control-plane`
`node-role.kubernetes.io/master` 污点的节点上移除该污点。
包括控制平面节点,这意味着调度程序将能够在任何地方调度 Pods。
<!--