Skip to content

Commit 50db11d

Browse files
committed
[zh] adjust format
Signed-off-by: xin.li <[email protected]>
1 parent bf46c15 commit 50db11d

File tree

1 file changed

+24
-18
lines changed
  • content/zh/docs/setup/production-environment/tools/kubeadm

1 file changed

+24
-18
lines changed

content/zh/docs/setup/production-environment/tools/kubeadm/ha-topology.md

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ title: 高可用拓扑选项
55
content_type: concept
66
weight: 50
77
---
8+
89
<!--
9-
---
1010
reviewers:
1111
- sig-cluster-lifecycle
1212
title: Options for Highly Available Topology
1313
content_type: concept
1414
weight: 50
15-
---
1615
-->
1716

1817
<!-- overview -->
@@ -25,7 +24,7 @@ This page explains the two options for configuring the topology of your highly a
2524
<!--
2625
You can set up an HA cluster:
2726
-->
28-
您可以设置 HA 集群:
27+
你可以设置 HA 集群:
2928

3029
<!--
3130
- With stacked control plane nodes, where etcd nodes are colocated with control plane nodes
@@ -37,15 +36,16 @@ You can set up an HA cluster:
3736
<!--
3837
You should carefully consider the advantages and disadvantages of each topology before setting up an HA cluster.
3938
-->
40-
在设置 HA 集群之前,您应该仔细考虑每种拓扑的优缺点
39+
在设置 HA 集群之前,你应该仔细考虑每种拓扑的优缺点
4140

4241
<!--
4342
kubeadm bootstraps the etcd cluster statically. Read the etcd [Clustering Guide](https://github.com/etcd-io/etcd/blob/release-3.4/Documentation/op-guide/clustering.md#static)
4443
for more details.
4544
-->
4645

4746
{{< note >}}
48-
kubeadm 静态引导 etcd 集群。 阅读 etcd [集群指南](https://github.com/etcd-io/etcd/blob/release-3.4/Documentation/op-guide/clustering.md#static)以获得更多详细信息。
47+
kubeadm 静态引导 etcd 集群。
48+
阅读 etcd [集群指南](https://github.com/etcd-io/etcd/blob/release-3.4/Documentation/op-guide/clustering.md#static)以获得更多详细信息。
4949
{{< /note >}}
5050

5151

@@ -60,7 +60,8 @@ kubeadm 静态引导 etcd 集群。 阅读 etcd [集群指南](https://github.co
6060
<!--
6161
A stacked HA cluster is a [topology](https://en.wikipedia.org/wiki/Network_topology) where the distributeddata storage cluster provided by etcd is stacked on top of the cluster formed by the nodes managed by kubeadm that run control plane components.
6262
-->
63-
堆叠(Stacked) HA 集群是一种这样的[拓扑](https://en.wikipedia.org/wiki/Network_topology),其中 etcd 分布式数据存储集群堆叠在 kubeadm 管理的控制平面节点上,作为控制平面的一个组件运行。
63+
堆叠(Stacked) HA 集群是一种这样的[拓扑](https://en.wikipedia.org/wiki/Network_topology)
64+
其中 etcd 分布式数据存储集群堆叠在 kubeadm 管理的控制平面节点上,作为控制平面的一个组件运行。
6465

6566
<!--
6667
Each control plane node runs an instance of the `kube-apiserver`, `kube-scheduler`, and `kube-controller-manager`.
@@ -76,28 +77,32 @@ Each control plane node creates a local etcd member and this etcd member communi
7677
the `kube-apiserver` of this node. The same applies to the local `kube-controller-manager`
7778
and `kube-scheduler` instances.
7879
-->
79-
每个控制平面节点创建一个本地 etcd 成员(member),这个 etcd 成员只与该节点的 `kube-apiserver` 通信。这同样适用于本地 `kube-controller-manager``kube-scheduler` 实例。
80+
每个控制平面节点创建一个本地 etcd 成员(member),这个 etcd 成员只与该节点的 `kube-apiserver` 通信。
81+
这同样适用于本地 `kube-controller-manager``kube-scheduler` 实例。
8082

8183
<!--
8284
This topology couples the control planes and etcd members on the same nodes. It is simpler to set up than a cluster with external etcd nodes, and simpler to manage for replication.
8385
-->
84-
这种拓扑将控制平面和 etcd 成员耦合在同一节点上。相对使用外部 etcd 集群,设置起来更简单,而且更易于副本管理。
86+
这种拓扑将控制平面和 etcd 成员耦合在同一节点上。相对使用外部 etcd 集群 ,
87+
设置起来更简单,而且更易于副本管理。
8588

8689
<!--
8790
However, a stacked cluster runs the risk of failed coupling. If one node goes down, both an etcd member and a controlplane instance are lost, and redundancy is compromised. You can mitigate this risk by adding more control plane nodes.
8891
-->
89-
然而,堆叠集群存在耦合失败的风险。如果一个节点发生故障,则 etcd 成员和控制平面实例都将丢失,并且冗余会受到影响。您可以通过添加更多控制平面节点来降低此风险。
92+
然而,堆叠集群存在耦合失败的风险。如果一个节点发生故障,则 etcd 成员和控制平面实例都将丢失,
93+
并且冗余会受到影响。你可以通过添加更多控制平面节点来降低此风险。
9094

9195
<!--
9296
You should therefore run a minimum of three stacked control plane nodes for an HA cluster.
9397
-->
94-
因此,您应该为 HA 集群运行至少三个堆叠的控制平面节点。
98+
因此,你应该为 HA 集群运行至少三个堆叠的控制平面节点。
9599

96100
<!--
97101
This is the default topology in kubeadm. A local etcd member is created automatically
98102
on control plane nodes when using `kubeadm init` and `kubeadm join --control-plane`.
99103
-->
100-
这是 kubeadm 中的默认拓扑。当使用 `kubeadm init``kubeadm join --control-plane` 时,在控制平面节点上会自动创建本地 etcd 成员。
104+
这是 kubeadm 中的默认拓扑。当使用 `kubeadm init``kubeadm join --control-plane` 时,
105+
在控制平面节点上会自动创建本地 etcd 成员。
101106

102107
<!--
103108
![Stacked etcd topology](/images/kubeadm/kubeadm-ha-topology-stacked-etcd.svg)
@@ -112,17 +117,21 @@ on control plane nodes when using `kubeadm init` and `kubeadm join --control-pla
112117
<!--
113118
An HA cluster with external etcd is a [topology](https://en.wikipedia.org/wiki/Network_topology) where the distributed data storage cluster provided by etcd is external to the cluster formed by the nodes that run control plane components.
114119
-->
115-
具有外部 etcd 的 HA 集群是一种这样的[拓扑](https://en.wikipedia.org/wiki/Network_topology),其中 etcd 分布式数据存储集群在独立于控制平面节点的其他节点上运行。
120+
具有外部 etcd 的 HA 集群是一种这样的[拓扑](https://en.wikipedia.org/wiki/Network_topology)
121+
其中 etcd 分布式数据存储集群在独立于控制平面节点的其他节点上运行。
116122

117123
<!--
118124
Like the stacked etcd topology, each control plane node in an external etcd topology runs an instance of the `kube-apiserver`, `kube-scheduler`, and `kube-controller-manager`. And the `kube-apiserver` is exposed to worker nodes using a load balancer. However, etcd members run on separate hosts, and each etcd host communicates with the `kube-apiserver` of each control plane node.
119125
-->
120-
就像堆叠的 etcd 拓扑一样,外部 etcd 拓扑中的每个控制平面节点都运行 `kube-apiserver``kube-scheduler``kube-controller-manager` 实例。同样, `kube-apiserver` 使用负载均衡器暴露给工作节点。但是,etcd 成员在不同的主机上运行,​​每个 etcd 主机与每个控制平面节点的 `kube-apiserver` 通信。
126+
就像堆叠的 etcd 拓扑一样,外部 etcd 拓扑中的每个控制平面节点都运行 `kube-apiserver``kube-scheduler``kube-controller-manager` 实例。
127+
同样,`kube-apiserver` 使用负载均衡器暴露给工作节点。但是,etcd 成员在不同的主机上运行,
128+
每个 etcd 主机与每个控制平面节点的 `kube-apiserver` 通信。
121129

122130
<!--
123131
This topology decouples the control plane and etcd member. It therefore provides an HA setup wherelosing a control plane instance or an etcd member has less impact and does not affectthe cluster redundancy as much as the stacked HA topology.
124132
-->
125-
这种拓扑结构解耦了控制平面和 etcd 成员。因此,它提供了一种 HA 设置,其中失去控制平面实例或者 etcd 成员的影响较小,并且不会像堆叠的 HA 拓扑那样影响集群冗余。
133+
这种拓扑结构解耦了控制平面和 etcd 成员。因此,它提供了一种 HA 设置,
134+
其中失去控制平面实例或者 etcd 成员的影响较小,并且不会像堆叠的 HA 拓扑那样影响集群冗余。
126135

127136
<!--
128137
However, this topology requires twice the number of hosts as the stacked HA topology.
@@ -138,14 +147,11 @@ A minimum of three hosts for control plane nodes and three hosts for etcd nodes
138147
-->
139148
![外部 etcd 拓扑](/images/kubeadm/kubeadm-ha-topology-external-etcd.svg)
140149

141-
142-
143150
## {{% heading "whatsnext" %}}
144151

145-
146152
<!--
147153
- [Set up a highly available cluster with kubeadm](/docs/setup/production-environment/tools/kubeadm/high-availability/)
148154
-->
149-
- [使用 kubeadm 设置高可用集群](/zh/docs/setup/production-environment/tools/kubeadm/high-availability/)
155+
- [使用 kubeadm 设置高可用集群](/zh/docs/setup/production-environment/tools/kubeadm/high-availability/)
150156

151157

0 commit comments

Comments
 (0)