-
Notifications
You must be signed in to change notification settings - Fork 911
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
Assign more than one IP #439
Comments
+1. My scenario: use MetalLB to assign VIP(s) to a service, then have the MetalLB controller apply some kind of (soft) anti-affinity to distribute those per-service VIPs across multiple speakers, and set up DNS to round-robin between or multi-A answer those VIPs upon resolve requests. I believe this could be achieved by creating multiple Does this make sense? |
Another solution would be, that Metallb implements the possibility of activating "static" IPs. The IPs would be started on one of the interfaces in the cluster even thought Metallb is not aware of a service that consumes it. The service can then activate This could really make the life easier if you want to distribute your applications over multiple IPs but still have the ingress controller handle tls termination. |
+1 |
The solution to this issue is to have multiple services sharing the same set of endpoints. Closing this issue. |
Hi, I'd like to mention that MetalLB currently uses a consistent hashing algorithm. It calculates the hash from nodeName + serviceIP for each endpoint, sorts the results, and selects the first one. In simpler terms, when you have multiple services with the same endpoints but different IP addresses, MetalLB will choose different nodes to announce those IPs. Here are more details: |
When we apply Layer 2 configuration it assigns exactly one IP from the address pool to the service.
Is it possible to assign more than one IP to the service ?
If yes, how to do it ?
The text was updated successfully, but these errors were encountered: