diff --git a/postgres_helm/postgres_helm.md b/postgres_helm/postgres_helm.md index ce692f3..ad712f8 100644 --- a/postgres_helm/postgres_helm.md +++ b/postgres_helm/postgres_helm.md @@ -109,6 +109,50 @@ Kubecon EU 2017 --- +## Patroni + +* HA PostgreSQL controller +* Etcd, Zookeeper or Consul +* Spilo = Patroni + PostgreSQL + +--- + +![spilo_diagram](spilo_diagram.svg) +--- + +## Patroni customization + +* Callbacks (on_role_chage) +* Custom replica creation +* Pluggable consistency layers + +--- + +## Not just autofailover + +* Synchronous mode +* Cascading replication +* Dynamic configuration + +--- + +## Cluster maintenance +* "Hands-off" mode +* Scheduled failovers and restarts + +--- + +## Controlling Patroni + +* REST API +* patronictl + +--- + +#### Patroni Demo + +--- + ![citus sharded](citus_sharded.png) ### CitusDB diff --git a/postgres_helm/spilo_diagram.svg b/postgres_helm/spilo_diagram.svg new file mode 100644 index 0000000..58e6a4d --- /dev/null +++ b/postgres_helm/spilo_diagram.svg @@ -0,0 +1,106 @@ + + + + Produced by OmniGraffle 7.3 + 2017-03-29 07:29:42 +0000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Canvas 1 + + + Layer 1 + + + + + + Spilo master pod + + + + + + + + + + + + + + + + + + + + + + Patr + oni + + + + + + + + + Service + + + + + Endpoint + + + + + + + + Client + + + + + + +