Make Patroni Kubernetes native (#500)

* Use ConfigMaps or Endpoins for leader elections and to keep cluster state
* Label pods with a postgres role
* change behavior of pip install. From now on it will not install all dependencies, you have to specify explicitly DCS you want to use Patroni with: `pip install patroni[etcd,zookeeper,kubernetes]`
This commit is contained in:
Alexander Kukushkin
2017-12-08 16:55:00 +01:00
committed by GitHub
parent bd847fd2cc
commit 4328c15010
24 changed files with 1000 additions and 100 deletions
+4 -3
View File
@@ -1,10 +1,10 @@
urllib3>=1.9
urllib3>=1.19.1,!=1.21
boto
psycopg2>=2.6.1
psycopg2>=2.5.4
PyYAML
requests
six >= 1.7
kazoo==2.2.1
kazoo>=1.3.1
python-etcd>=0.4.3,<0.5
python-consul>=0.7.0
click>=4.1
@@ -13,3 +13,4 @@ tzlocal
python-dateutil
psutil
cdiff
kubernetes==3.0.0