Aslam Raza:
Hi Guys,
We have a Production K8s cluster currently with only one master and we are planning to add one more master to make it HA. All the documents online I’ve found suggests creating a new cluster from scratch. Obviously it is not possible to bring down all the nodes. Please suggest any documents which explains about adding a new master to an already existing cluster.
Infra- Bare Metal servers with CentOS 7
Thanks.
Артем Горячев:
if you use kubeadm and If you did not specify --control-plane-endpoint option while installing the cluster you can’t update it to HA. “Turning a single control plane cluster created without --control-plane-endpoint
into a highly available cluster is not supported by kubeadm.” https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/
Nick:
Try to find information here:
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/
Nick:
I don’t think it’s possible to add master nodes to the existing cluster. Only re-creation of the HA cluster with the odd number of the master nodes.