diff --git a/content/zh-cn/docs/setup/production-environment/tools/kubeadm/high-availability.md b/content/zh-cn/docs/setup/production-environment/tools/kubeadm/high-availability.md index cf1424c3ec..a51bae45d6 100644 --- a/content/zh-cn/docs/setup/production-environment/tools/kubeadm/high-availability.md +++ b/content/zh-cn/docs/setup/production-environment/tools/kubeadm/high-availability.md @@ -26,7 +26,7 @@ cluster using kubeadm: 本文讲述了使用 kubeadm 设置一个高可用的 Kubernetes 集群的两种不同方式: - 使用具有堆叠的控制平面节点。这种方法所需基础设施较少。etcd 成员和控制平面节点位于同一位置。 -- 使用外部集群。这种方法所需基础设施较多。控制平面的节点和 etcd 成员是分开的。 +- 使用外部 etcd 集群。这种方法所需基础设施较多。控制平面的节点和 etcd 成员是分开的。 还需要准备: -- 给 etcd 集群使用的另外三台及以上机器。为了分布式一致性算法达到更好的投票效果,集群必须由奇数个节点组成。 +- 给 etcd 集群使用的另外至少三台机器。为了分布式一致性算法达到更好的投票效果,集群必须由奇数个节点组成。 - 机器上已经安装 `kubeadm` 和 `kubelet`。 - 机器上同样需要安装好容器运行时,并能正常运行。 @@ -168,10 +168,10 @@ _See [External etcd topology](/docs/setup/production-environment/tools/kubeadm/h ### 容器镜像 -每台主机需要能够从 Kubernetes 容器镜像仓库(`k8s.gcr.io`)读取和拉取镜像。 +每台主机需要能够从 Kubernetes 容器镜像仓库(`registry.k8s.io`)读取和拉取镜像。 想要在无法拉取 Kubernetes 仓库镜像的机器上部署高可用集群也是可行的。通过其他的手段保证主机上已经有对应的容器镜像即可。 @@ -329,7 +329,7 @@ option. Your cluster requirements may need a different configuration. --> 一些 CNI 网络插件需要更多配置,例如指定 Pod IP CIDR,而其他插件则不需要。参考 [CNI 网络文档](/zh-cn/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#pod-network)。 - 通过传递 `--pod-network-cidr` 标志添加 pod CIDR,或者你可以使用 kubeadm + 通过传递 `--pod-network-cidr` 标志添加 Pod CIDR,或者你可以使用 kubeadm 配置文件,在 `ClusterConfiguration` 的 `networking` 对象下设置 `podSubnet` 字段。 {{< /note >}} @@ -392,7 +392,9 @@ option. Your cluster requirements may need a different configuration. 2. 应用你所选择的 CNI 插件: [请遵循以下指示](/zh-cn/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#pod-network) @@ -467,7 +469,7 @@ in the kubeadm config file. 1. Follow these [instructions](/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/) to set up the etcd cluster. -1. Setup SSH as described [here](#manual-certs). +1. Set up SSH as described [here](#manual-certs). 1. Copy the following files from any etcd node in the cluster to the first control plane node: @@ -482,8 +484,7 @@ in the kubeadm config file. --> ### 设置 ectd 集群 -1. 按照这些[指示](/zh-cn/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/) - 去设置 etcd 集群。 +1. 按照[这里](/zh-cn/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/)的指示去设置。 1. 根据[这里](#manual-certs) 的描述配置 SSH。