High-availability best practices
Building reliable and highly available distributed systems is a non-trivial endeavor. In this section, we will check some of the best practices that enable a Kubernetes-based system to function reliably and be available in the face of various failure categories. We will also dive deep and see how to go about constructing your own highly available clusters.
Note that you should roll your own highly available Kubernetes cluster only in very special cases. There are multiple robust tools (usually built on top ogf Kubeadm) that provide battle-tested ways to create highly available Kubernetes clusters at the control plane level. You should take advantage of all the work and effort that went into these tools. In particular, the cloud providers offer managed Kubernetes clusters that are highly available.
Creating highly available clusters
To create a highly available Kubernetes cluster, the control plane components must be redundant. That means etcd must be...