postgres-operator/pkg/cluster
Oleksii Kliukin 987b43456b
Deprecate old LB options, fix endpoint sync. (#287)
* Depreate old LB options, fix endpoint sync.

- deprecate useLoadBalancer, replicaLoadBalancer from the manifest
  and enable_load_balancer from the operator configuration. The old
  operator configuration options become no-op with this commit. For
  the old manifest options, `useLoadBalancer` and `replicaLoadBalancer`
  are still consulted,  but only in the absense of the new ones
  (enableMasterLoadBalancer and enableReplicaLoadBalancer).

- Make sure the endpoint being created during the sync receives proper
  addresses subset. This is more critical for the replicas, as for the
  masters Patroni will normally re-create the endpoint before the
  operator.

- Avoid creating the replica endpoint, since it will be created automatically
  by the corresponding service.
- Update the README and unit tests.

Code review by @mgomezch and @zerg-junior
2018-05-15 15:19:18 +02:00
..
cluster.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
cluster_test.go Improve the pod moving behavior during the Kubernetes cluster upgrade. (#281) 2018-05-03 10:20:24 +02: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 Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
k8sres_test.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
pg.go Some improvements for golint, ineffassign and misspell 2018-02-19 17:46:31 +01:00
pod.go Improve the pod moving behavior during the Kubernetes cluster upgrade. (#281) 2018-05-03 10:20:24 +02:00
resources.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
sync.go Fix a bug with syncing services 2018-04-27 12:35:25 +02:00
types.go add comments on roles 2017-09-11 17:44:32 +02:00
util.go Improve the pod moving behavior during the Kubernetes cluster upgrade. (#281) 2018-05-03 10:20:24 +02:00
volumes.go Modify to add extra labels only during resource creation 2018-02-26 11:11:50 +01:00