Skip to content

20170330_kubeCon_2.4

20170330_kubeCon_2.4

2 - Presentations

2.4 - Postgres in k8s

Concepts

Centralized controllers / SideCar container in the Pod

  • Centralized controllers: Operator pattern
  • SideCar container: The patroni exemple below
Solutions

https://github.com/zalando/patroni

  • HA solution for Postgres in container environment
  • There is a Helm chart that uses Patroni and Spilo to provision a five-node PostgreSQL HA cluster in a Kubernetes

https://github.com/zalando/spilo
https://tech.zalando.com/blog/zalandos-patroni-a-template-for-high-availability-postgresql/
https://tech.zalando.com/blog/zalandos-patroni-a-template-for-high-availability-postgresql/

Helm !

Helm is a great solutions that allows:
Parameters in K8s manifests