This repository is a demo area showing how high availability, scalable PostgreSQL can be built out using Kubernetes and Docker (and run on Atomic Host!). These are not production solutions, but rather intended to show off advances in Kubernetes and clustered PostgreSQL.
Since all of the deployments in this repo rely heavily on StatefulSet, you need to use Kubernetes 1.5 or later.
This directory demonstrates building a high-availability single-master PostgreSQL cluster under Patroni, using Kubernetes StatefulSet (PetSet).
See its README for more information.
This directory contains a prototype of a CitusDB sharded database cluster under Kubernetes StatefulSet(PetSet). See its README for more details.
This directory contains a prototype of the new Go-based Governor PostgreSQL cluster under Kubernetes. It is a WIP, and doesn't yet work.
The general repository is under the MIT License. However, the cluster examples incorporate code from other projects, which may be differently licensed. Please check the individual directories if you have specific licensing needs.