Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the default for the creation of a floating IP for loadbalancers be changed (for a whole cluster)? #2868

Open
kastl-ars opened this issue Mar 26, 2025 · 0 comments

Comments

@kastl-ars
Copy link

Dear maintainers,

in our use case it is not only enough, it is mandatory that services that create a loadbalancer do NOT get a floating IP address, but only the "internal" IP address.

This can be achieved by setting an annotation on each service:

service.beta.kubernetes.io/openstack-internal-load-balancer

If 'true', the loadbalancer VIP won't be associated with a floating IP. Default is 'false'. This annotation is ignored if only internal Service is allowed to create in the cluster.

from the documentation

Is it possible to change the default behaviour for a whole kubernetes cluster so new services do not get a floating IP address by default?

Or is this a setting that comes from the underlying OpenStack platform?

Or is it not configurable at all?

We would like to avoid having to use a validationAdmissionController or mutatingAdmissionController just to make sure all services have that annotation set, if this is possible?

Thanks in advance!

Kind Regards,
Johannes

@kastl-ars kastl-ars changed the title Can the default for the creation of a floating IP for loadbalancers be changed? Can the default for the creation of a floating IP for loadbalancers be changed (for a whole cluster)? Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant