官术网_书友最值得收藏!

etcd cluster

To persist the cluster state, Kubernetes uses etcd a distributed, reliable key-value store that utilizes the Raft distributed consensus algorithm in order to provide sequential consistency. The etcd cluster is the most important part of the control plane this is the source of truth for the whole cluster, both for the current state and the desired state of the cluster.

Generally, single-node etcd clusters are only recommended for testing purposes. For production scenarios, you should always consider running at least a five-member cluster (with an odd number of members) in order to provide sufficient fault tolerance. 

When choosing an  etcd cluster deployment topology, you can consider either a stacked etcd topology or an external etcd topology. A stacked etcd topology consists of one etcd member per Kubernetes master instance, whereas an external etcd topology utilizes an etcd cluster deployed separately from Kubernetes and is available via a load balancer. You can find out more about these topologies in the official documentation: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/ha-topology/.

The watch protocol that's exposed by etcd is also a core functionality for the watch API in Kubernetes, which is provided by kube-apiserver for other components.

主站蜘蛛池模板: 滦平县| 闽清县| 曲水县| 弋阳县| 万州区| 广州市| 临澧县| 永修县| 大田县| 中牟县| 临清市| 根河市| 普洱| 宁远县| 库车县| 昌邑市| 任丘市| 保山市| 绵竹市| 绥滨县| 纳雍县| 诸城市| 弥渡县| 晋江市| 红河县| 泰兴市| 永靖县| 虎林市| 乳山市| 太仆寺旗| 大足县| 宾川县| 邯郸县| 孟州市| 铜梁县| 揭阳市| 桂阳县| 南雄市| 佛冈县| 前郭尔| 磴口县|