postgres-operator/pkg/util
Oleksii Kliukin dd0affc390 Tweak our reaction to the cluster upgrade process.
Previously, the operator started to move the pods off the nodes to be
decomissioned by watching the eol_node_label value. Every new postgres
pod has been created with the anti-affinity to that label, making sure
that the pods being moved won't land on another to be decomissioned
node.

The changes introduce another label that indicates the ready node.  The
new pod affinity will esnure that the pod is only scheduled to the node
marked as ready, discarding the previous anti-affinity.  That way the
nodes can transition from the pending-decomission to the other statuses
(drained, terminating) without having pods suddently scaled to them.

In addition, rename the label that triggers the start of the upgrade
process to node_eol_label (for consistency with node_readiness_label)
and set its default vvalue to lifecycle-status:pending-decomission.
2017-11-30 14:11:49 +01:00
..
config Tweak our reaction to the cluster upgrade process. 2017-11-30 14:11:49 +01:00
constants Kube cluster upgrade 2017-10-19 10:49:42 +02:00
filesystems Fix golint warnings 2017-08-01 16:08:56 +02:00
k8sutil use sync methods while updating the cluster 2017-11-03 12:00:43 +01:00
patroni Retry connecting to pg 2017-10-17 17:03:50 +02:00
retryutil Fix golint warnings 2017-08-01 16:08:56 +02:00
ringlog fix comments for ringlogger 2017-09-26 13:12:38 +02:00
teams fix test 2017-08-15 10:41:04 +02:00
users Fix the connection leak and user options sync. 2017-11-27 16:46:34 +01:00
volumes Fix golint warnings 2017-08-01 16:08:56 +02:00
util.go Perform manual failover during the scale down 2017-10-16 17:41:23 +02:00
util_test.go Perform manual failover during the scale down 2017-10-16 17:41:23 +02:00