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

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.

主站蜘蛛池模板: 藁城市| 永兴县| 鄂州市| 朝阳县| 浙江省| 静安区| 大连市| 彭水| 仲巴县| 太仓市| 陵川县| 孟连| 水富县| 留坝县| 双峰县| 长兴县| 镇坪县| 洞口县| 清水河县| 庆城县| 黄山市| 花垣县| 芒康县| 龙南县| 明水县| 余庆县| 平谷区| 淮北市| 崇左市| 新竹市| 阿城市| 饶平县| 澄城县| 宣化县| 上饶市| 岳池县| 柏乡县| 隆尧县| 巴楚县| 逊克县| 山阴县|