background-image: url(elephant_jog.jpg)
.sigblock[ Josh Berkus, Red Hat
Oleksii Kliukin, Zalando
Kubecon EU 2017 ]
- storage
- identity
- discovery
- "cluster join"
- failover
- special nodes
- rebalancing
- not packaged with app
- kube expertise needed
- message lag
- control daemon in node
- runs as PID 1 in container
- communicates via consensus
or kube api
- initialization
- joining cluster/group
- failover
- telemetry
- governor
- Patroni
- entrypoint.py
- Joyent's ContainerPilot
- parameterization
- deploy multiple instances
- app registry
- support for sidecars
- Patroni/Spilo
- CitusDB
- HA PostgreSQL controller
- Etcd, Zookeeper or Consul
- Spilo = Patroni + PostgreSQL
- callbacks
- custom replica creation methods
- pluggable consistent KV-stores
- synchronous mode
- cascading replication
- dynamic configuration
- "Hands-off" mode
- Scheduled failovers and restarts
- REST API
- patronictl
- cluster name
- Etcd host
- number of replicas
- credentials
- sharded Postgres
- partition data over nodes
- shards duplicate for redundancy
- query node distributes queries
- mainly for data mining (big data)
- one query node (node 0)
- 2 to N shards
- service for query node only
- if node 0, query node
- if not node 1, register with query node
- updates Kubernetes label for discovery
- (auto rebalancing not OSS, yet)
- cluster name
- cluster size
- storage allocation
- passwords
github.com/zalando/patroni
github.com/jberkus/atomicdb
- This Presentation:
jberkus.github.io/container_cluster - Simplified Configuration Scripts:
github.com/jberkus/atomicdb/
- Patroni Project:
github.com/zalando/patroni - Spilo Project:
github.com/zalando/spilo - Helm Chart:
github.com/kubernetes
/charts/incubator/patroni
- Helm Chart:
github.com/alexeyklyukin/
/charts/incubator/patroni
.left-column-narrow[
more
jberkus:
project atomic:
]
.right-column-wide[
@fuzzychef
www.databasesoup.com
jberkus.github.io
]
Giant rideable robot elepant courtesy of The Nantes Project: http://www.lesmachines-nantes.fr/en/
Darth Vader elephant helm created by Blank William: http://www.blankwilliam.com/
The running robot with elephant cartoon by Mark F. Stosiak: http://www.markstosiak.com/