Merge pull request #34615 from tengqm/zh-resync-haetcd
[zh-cn] Resync setup etcd HA cluster page
This commit is contained in:
+5
-8
@@ -76,20 +76,17 @@ The general approach is to generate all certs on one node and only distribute th
|
|||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
<!--
|
<!--
|
||||||
kubeadm contains all the necessary crytographic machinery to generate the certificates described below; no other cryptographic tooling is required for this example.
|
kubeadm contains all the necessary cryptographic machinery to generate the certificates described below; no other cryptographic tooling is required for this example.
|
||||||
-->
|
-->
|
||||||
kubeadm 包含生成下述证书所需的所有必要的密码学工具;在这个例子中,不需要其他加密工具。
|
kubeadm 包含生成下述证书所需的所有必要的密码学工具;在这个例子中,不需要其他加密工具。
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
<!--
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
|
<!--
|
||||||
The examples below use IPv4 addresses but you can also configure kubeadm, the kubelet and etcd
|
The examples below use IPv4 addresses but you can also configure kubeadm, the kubelet and etcd
|
||||||
to use IPv6 addresses. Dual-stack is supported by some Kubernetes options, but not by etcd. For more details
|
to use IPv6 addresses. Dual-stack is supported by some Kubernetes options, but not by etcd. For more details
|
||||||
on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/setup/production-environment/tools/kubeadm/dual-stack-support/).
|
on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/setup/production-environment/tools/kubeadm/dual-stack-support/).
|
||||||
{{< /note >}}
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
{{< note >}}
|
|
||||||
下面的例子使用 IPv4 地址,但是你也可以使用 IPv6 地址配置 kubeadm、kubelet 和 etcd。一些 Kubernetes 选项支持双协议栈,但是 etcd 不支持。
|
下面的例子使用 IPv4 地址,但是你也可以使用 IPv6 地址配置 kubeadm、kubelet 和 etcd。一些 Kubernetes 选项支持双协议栈,但是 etcd 不支持。
|
||||||
关于 Kubernetes 双协议栈支持的更多细节,请参见 [kubeadm 的双栈支持](/zh-cn/docs/setup/production-environment/tools/kubeadm/dual-stack-support/)。
|
关于 Kubernetes 双协议栈支持的更多细节,请参见 [kubeadm 的双栈支持](/zh-cn/docs/setup/production-environment/tools/kubeadm/dual-stack-support/)。
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
@@ -127,7 +124,6 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set
|
|||||||
<!--
|
<!--
|
||||||
Check the kubelet status to ensure it is running.
|
Check the kubelet status to ensure it is running.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
检查 kubelet 的状态以确保其处于运行状态:
|
检查 kubelet 的状态以确保其处于运行状态:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@@ -150,7 +146,7 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set
|
|||||||
export HOST1=10.0.0.7
|
export HOST1=10.0.0.7
|
||||||
export HOST2=10.0.0.8
|
export HOST2=10.0.0.8
|
||||||
|
|
||||||
# 使用你的主机名更新 NAME0, NAME1 和 NAME2
|
# 使用你的主机名更新 NAME0、NAME1 和 NAME2
|
||||||
export NAME0="infra0"
|
export NAME0="infra0"
|
||||||
export NAME1="infra1"
|
export NAME1="infra1"
|
||||||
export NAME2="infra2"
|
export NAME2="infra2"
|
||||||
@@ -219,7 +215,7 @@ on Kubernetes dual-stack support see [Dual-stack support with kubeadm](/docs/set
|
|||||||
<!--
|
<!--
|
||||||
This creates two files
|
This creates two files
|
||||||
-->
|
-->
|
||||||
这一操作创建如下两个文件
|
这一操作创建如下两个文件:
|
||||||
|
|
||||||
- `/etc/kubernetes/pki/etcd/ca.crt`
|
- `/etc/kubernetes/pki/etcd/ca.crt`
|
||||||
- `/etc/kubernetes/pki/etcd/ca.key`
|
- `/etc/kubernetes/pki/etcd/ca.key`
|
||||||
@@ -402,3 +398,4 @@ kubeadm](/docs/setup/independent/high-availability/).
|
|||||||
一旦拥有了一个正常工作的 3 成员的 etcd 集群,你就可以基于
|
一旦拥有了一个正常工作的 3 成员的 etcd 集群,你就可以基于
|
||||||
[使用 kubeadm 外部 etcd 的方法](/zh-cn/docs/setup/production-environment/tools/kubeadm/high-availability/),
|
[使用 kubeadm 外部 etcd 的方法](/zh-cn/docs/setup/production-environment/tools/kubeadm/high-availability/),
|
||||||
继续部署一个高可用的控制平面。
|
继续部署一个高可用的控制平面。
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user