https://rancher.com/ logo
Title
d

dazzling-processor-39269

04/16/2023, 12:00 PM
hello friends, QQ - I am deploying PROD Ha k2s cluster - we want to use external mysql DB - it is already setup, together with HA HAprosy deployment - now everywhere I read, I come across - 3 master nodes if internal DB is used or “only” two if one uses external DB. But now questions is - if we use external DB, what about using 3 master nodes anyway? Is that not optimal or is it? Any idea on this? Or some document?
r

rapid-pharmacist-56750

04/17/2023, 4:18 PM
Hey, I think the answer you’re looking for is already on this thread. Still, tl;dr: • If HA with embedded etcd you’ll need “odd” numbers for the control-plane quorum • If HA with external DB, just 2 should be fine.
d

dazzling-processor-39269

04/17/2023, 4:21 PM
I understand that two should cut it - we have 3 physical nodes and we would like to utilise all 3 of them - hence the question, if external db is used, are 3 nodes also ok or system “prefers” two?
r

rapid-pharmacist-56750

04/17/2023, 4:22 PM
I think it shouldn’t be a problem having more control planes with external DB. But I haven’t try it myself, so take my point of view with a grain of salt.
d

dazzling-processor-39269

04/17/2023, 4:24 PM
Got it - i am asking as i have tried but after deploying workload i ran into serious issues that i have not encountered before :/
:melting_face: 1
r

rapid-pharmacist-56750

04/17/2023, 4:34 PM
How about posting the issue you are facing on the channel and call out your setup? So you can get the maintainers attention