https://rancher.com/ logo
Title
j

jolly-waitress-71272

08/08/2022, 9:04 PM
I have 4 metal I want to commit to a k3s cluster. How many should be masters?
c

creamy-pencil-82913

08/09/2022, 1:51 AM
Exactly 1 or 3. Never have an odd number of servers unless you are using an external DB for HA.
j

jolly-waitress-71272

08/09/2022, 3:30 AM
Thanks @creamy-pencil-82913
s

sticky-summer-13450

08/19/2022, 7:55 AM
Never have an odd number of servers unless you are using an external DB for HA
Just for historic record - is there a typo here? Perhaps
s/odd/even/
?
c

creamy-pencil-82913

08/19/2022, 5:06 PM
Yes, sorry. Thought I edited that but I must have missed the timeout.
j

jolly-waitress-71272

08/19/2022, 5:19 PM
What happens during a failure of a master that drops the number of masters down to even when they aren't backed by an external DB?
c

creamy-pencil-82913

08/19/2022, 9:08 PM
If you lose quorum then the datastore is inaccessible until you restore quorum. This is standard behavior for any quorum-based system.
j

jolly-waitress-71272

08/19/2022, 9:25 PM
Oh no kidding. I bet that's screwed up a bunch of things for me in the past and I just didn't understand it. 😄