https://rancher.com/ logo
Title
f

faint-tomato-17392

11/30/2022, 7:36 AM
Hi all, I'm trying the multi-master setup and have a few questions: 1. I've setup m1 (initial) and m2 connected to m1, if m1 goes down and completely got terminated, when spinning up another master like m3, should I use the m2 ip as the server address? 2. Do i need to connect all agent nodes to all master/server nodes? Or connecting it to a single master node is all I have to do? Cheers Thank you
c

creamy-pencil-82913

11/30/2022, 7:58 AM
If you have only two servers and one goes down, you can't add a 3rd because the entire cluster will be down as you have no quorum. You should never have an odd number of servers for any significant period of time.
You can join agents to any of the servers. Once they join they will discover the others and can come up as long as a quorum of them are available.
f

faint-tomato-17392

11/30/2022, 9:41 PM
Thanks @creamy-pencil-82913! In a multi master setup, how would traefik and ingresses work? Does that mean I have to scale up traefik to be deployed in all master nodes?
c

creamy-pencil-82913

11/30/2022, 9:53 PM
that depends entirely on how you want to access it. by default it uses ServiceLB for a LoadBalancer service that is accessible through all the nodes, but there’s only a single replica.
You’re welcome to change that though
not really related to how you join nodes to the cluster
f

faint-tomato-17392

11/30/2022, 9:54 PM
Sounds good thanks heaps mate 🍻