Expose services over NodePort
For migration purposes we must expose postgres outside of k8s cluster, our main exposure method is a NodePort.
It would be nice if cluster CRD will allow to alter service type to a NodePort and optionally specify a value for nodeport number
I would also like this option!
Sounds like a reasonable small PR to do. There is some code already around service creation and config so that would be the place to start. (compare lb vs non lb service)
There is a WIP PR https://github.com/zalando/postgres-operator/pull/994 from me
Thanks. I am waiting for this option too
Can one simply update the ClusterIP service to be of NodePort type while we wait for @k0da's PR to approve?
I'll also take the risk of drawing @Jan-M's attention back to this one.
Still no update on this?
We're using a NodePort Ingress as a workaround for this, would really love to get native NodePort support.
NodePort could be very helpful feature for migration purposes.
opened another PR for this: https://github.com/zalando/postgres-operator/pull/2986