Re-create pods only if all replicas are running (#903)

* adds a Get call to Patroni interface to fetch state of a Patroni member
* postpones re-creating pods if at least one replica is currently being created  

Co-authored-by: Sergey Dudoladov <sergey.dudoladov@zalando.de>
Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
Sergey Dudoladov
2020-04-20 15:14:11 +02:00
committed by GitHub
co-authored by Sergey Dudoladov Felix Kunde
parent 5014eebfb2
commit 3c91bdeffa
4 changed files with 67 additions and 5 deletions
+1
View File
@@ -28,6 +28,7 @@ _testmain.go
/vendor/
/build/
/docker/build/
/github.com/
.idea
scm-source.json