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

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.

主站蜘蛛池模板: 囊谦县| 临颍县| 石柱| 徐汇区| 翁牛特旗| 库车县| 旬阳县| 桐梓县| 弥渡县| 平度市| 调兵山市| 大兴区| 禄劝| 阜新市| 韶山市| 武川县| 陆川县| 定兴县| 邳州市| 岑巩县| 肃北| 霍州市| 泰顺县| 韶山市| 青铜峡市| 蚌埠市| 封开县| 嘉义市| 朝阳区| 江源县| 兴宁市| 安溪县| 永嘉县| 缙云县| 武胜县| 芒康县| 屏边| 双桥区| 普定县| 长乐市| 顺义区|