r/devops • u/daved3464 • 1d ago
Troubleshooting Volatile Postgres cluster
Hi, I'm trying to setup a basic ha postgres cluster using the Spilos images in a docker swarm setup, but every few days the thing crumbles down with DNS resolution issues, timeouts, wal and etcd records corruption, I don't have the money to rely on an hosted solution rn, so has anybody run into these problems and solved them?. This makes me understand why the DBA role exists, but it is so frustrating and absurd that it is not a solved problem for something that feels so relatively trivial to setup in mariadb with galera.
2
Upvotes
1
u/mixxor1337 1d ago edited 1d ago
It is, just have a Look at k8s + cnpg operator