I want to write tests for HA k8s with multi-master setup.
I have read at this answer it is possible to allow user pods to be scheduled to a master node. I am bit hazy if it is ok to do this for multiple (or rather all) my masters.
I've read at k8s HA docs ...
For both methods you need this infrastructure:
Three machines that meet kubeadm’s minimum requirements for the masters
Three machines that meet kubeadm’s minimum requirements for the workers
Does this mean
- minimum 3 hosts in total (i.e. sensible to run/test with each host as combined master and worker)?
- minimum 6 hosts for testing, i.e. 3 x masters and 3 x workers ?