postgres-operator
postgres-operator copied to clipboard
Add support for manually setting load balancer IPs
This adds the settings masterLoadBalancerIP
and replicaLoadBalancerIP
to the postgresql
CRD. Setting either of these options will cause loadBalancerIP
to be set on the generated service.
Solves #1285
This rebased version isn't tested yet; I'm not sure how it will interact with the replica pooler load balancer stuff.
@jamesmcdonald Hi, this PR looks really useful and I'd appreciate it if this gets merged. Is there still something that needs to be solved?
We don't actually use static IPs in our setup any more because we switched to external-dns, so I haven't chased it up or kept the PR up-to-date with upstream. Feel free to close it if it's not a desired feature.