postgres-operator/pkg/cluster
Oleksii Kliukin bf80f5225e
Introduce higher and lower bounds for the number of instances (#178)
* Introduce higher and lower bounds for the number of instances

Reduce the number of instances to the min_instances if it is lower and
to the max_instances if it is higher. -1 for either of those means there
is no lower or upper bound.

In addition, terminate the operator when there is a nonsense in the
configuration (i.e. max_instances < min_instances).

Reviewed by Jan Mußler and Sergey Dudoladov.
2017-12-15 16:02:50 +01:00
..
cluster.go Spelling fix. 2017-12-14 14:39:33 +01:00
cluster_test.go Fixes for the case of re-creating the cluster after deletion. 2017-12-13 16:49:00 +01:00
exec.go return idle status when worker has nothing to do 2017-10-11 15:42:20 +02:00
filesystems.go Make use of kubernetes client-go v4 2017-07-25 15:25:17 +02:00
k8sres.go Introduce higher and lower bounds for the number of instances (#178) 2017-12-15 16:02:50 +01:00
pg.go Fixes for the case of re-creating the cluster after deletion. 2017-12-13 16:49:00 +01:00
pod.go Tweak our reaction to the cluster upgrade process. 2017-11-30 14:11:49 +01:00
resources.go Fixes for the case of re-creating the cluster after deletion. 2017-12-13 16:49:00 +01:00
sync.go Introduce higher and lower bounds for the number of instances (#178) 2017-12-15 16:02:50 +01:00
types.go add comments on roles 2017-09-11 17:44:32 +02:00
util.go Avoid overwriting critical users. (#172) 2017-12-05 14:27:12 +01:00
volumes.go use sync methods while updating the cluster 2017-11-03 12:00:43 +01:00