https://rancher.com/ logo
Title
b

brash-belgium-72831

04/04/2023, 8:17 PM
Hi all! I'm extremally new to Kubernetes and learning a lot.. But my plan is to build a K3s cluster with selfheal (3 VM's on same host to start trying stuff out) and Rancher and Longhorn, Prometheus, Grafana and maybe lot's more when i learn more. But my question to you because I'm also new to databases. "MySQL or PostgreSQL?" I have never dealt with SQL before and it would be installed on my NAS in a docker. This is just for setup at home.
c

creamy-pencil-82913

04/04/2023, 8:21 PM
all of those things are going to put a ton of IO load on your underlying storage. LH and Prometheus are both quite IO intensive. Especially if you’re running 3 LH replicas against the same physical disk. I wouldn’t be surprised if you end up having reliability problems due to that.
also if you’re doing 3 node I would go with embedded etcd instead of mysql. the only reason to use an external sql DB is if you want to do two-node HA.
b

brash-belgium-72831

04/04/2023, 8:25 PM
I've only tried Kubernetes for a week or two so everything is brand new! I saw that you can use "metrics server" or Prometheus/Grafana in OpenLens but maybe I don't even need to think about it in Rancher?
What i want is maybe just two node's then.. Just to be able to bring one offline if upgrades need's to be done. Nothing real crazy.
c

creamy-pencil-82913

04/04/2023, 8:34 PM
generally you don’t take them down for upgrades… you just drop a new binary on the host and restart the service
or use the system upgrade controller or rancher and it will do that for you
b

brash-belgium-72831

04/04/2023, 8:35 PM
Oh! So maybe just even a single node would work for me then.. Haha! As you can see. still learning!