Ok, here’s something I am unable to clearly understand:
This topology decouples the control plane and etcd member. It therefore provides an HA setup where losing a control plane instance or an etcd member has less impact and does not affect the cluster redundancy as much as the stacked HA topology.
They say the etcd cluster can be either separate or stacked with the control plane machines, but separate would be preferable.
Why is this? If you loose either the etcd or the control plane, the cluster is (as I’ve understood it) unable to heal/make changes anyways, so why separate them? It just seems like a waste of resources to have separate machines for etcd/control plane.
In a stacked scenario, with the same number of nodes as in the separated one, we could have 6 control plane nodes and 6 etcd nodes (since they are stacked). Should this not be better (except the detail that control plane and etcd should be an uneven number)?
Going one step further; why don’t we just stack the control plane and etcd on top of every worker node as well? I can’t imagine the control plane and etcd are that intensive workloads, so stacking them on the workers should just ensure even better HA. This way all nodes are exactly the same, except for the master node (because of the master status), which should reduce the complexity of the system as well.
So the questions I hope to get answered are:
- What is the actual benefit of separating control plane instances from etcd instances?
- Can you provide an scenario where the separated topology would perform better than the stacked one?
- Why don’t we just stack the control plane and etcd on top of ALL nodes, making the system more homogenous?
Thanks for any answer. I am just getting into k8s and I’m loving it, but I am having trouble understanding the reason for separating these functions from each other.