This message was deleted.
# k3s
a
This message was deleted.
h
wasn't there a bitnami chart for postgres-ha ?
maybe I am misunderstanding your question
personally - I do not see a point on setting up postgresql-HA on single kubernetes cluster... I would do: kubernetes-cluster-a in datacenter-a (pg-node1) kubernetes-cluster-b in datacenter-b (pg-node2) and deploy HA with above setup
n
c
> personally - I do not see a point on setting up postgresql-HA on single kubernetes cluster... > I would do: > kubernetes-cluster-a in datacenter-a (pg-node1) > kubernetes-cluster-b in datacenter-b (pg-node2) > and deploy HA with above setup can you please elaborate? I thought one of the primary benefits is if a postgres node goes down, it doesn’t bring the control plane down with it ( we’re currently running 3 master nodes with etcd. In my new setup I’m thinking about going 2 masters with PG HA
h
I misunderstood your question... you are looking for k3s deployment with external DB I got impression you are just looking for deploying postgres in HA
if you have postgres-HA on a single cluster then that is your single point of failure (if that cluster fails you lose your postgres DB)
c
Sorry, I’ve muddled the water. I was referring to creating a HA k3s cluster with embedded PG instead of etcd. It isn’t mentioned in the docs. Perhaps not supported?
(and I agreed. Having HA PG on a single cluster for other things doesn’t make sense)
h
I don't think there is "embedded PG" there is either embedded etcd or sqlite you need an existing / running PG DB server reference: https://docs.k3s.io/datastore
👍 1