How do I implement a HA PostgreSQL setup in k8s/k3s ?

This page summarizes the projects mentioned and recommended in the original post on /r/kubernetes

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • postgres-operator

    Postgres operator creates and manages PostgreSQL clusters running in Kubernetes

  • I am trying to setup HA PostgreSQL in k3s on a bare metal VM. I think this tool https://github.com/zalando/postgres-operator is relevant to what I'm trying to achieve, but I have absolutely no idea how to go ahead with this. Can someone pls point me to a tutorial of some sort that can act as a starting point? I just read about the CAP theorem and I dont have much idea about distributed databases.

  • cockroach

    CockroachDB - the open source, cloud-native distributed SQL database.

  • Technically not postgres, but could be worth checking out cockroach db, it can use any postgres driver from programming languages and is build for distribution. I recently moved from postgres to cockroach (with golang postgres driver) and didnt need to change a single query

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts