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

Annotate nodes with address pool/weighted address pools #941

Closed
ChipWolf opened this issue Sep 7, 2021 · 2 comments
Closed

Annotate nodes with address pool/weighted address pools #941

ChipWolf opened this issue Sep 7, 2021 · 2 comments

Comments

@ChipWolf
Copy link

ChipWolf commented Sep 7, 2021

We'd like to be able to weight address pools by node, so if a service is bound to an endpoint on a specific node, that node's address pool is preferred as a priority.

The reason for this is with a globally distributed cluster and address pools for each region, to enable the lowest latency service we should be able to dynamically issue IP addresses closest to the origin.

Thanks

@ChipWolf ChipWolf changed the title Annotate nodes with address pool Annotate nodes with address pool/weighted address pools Sep 7, 2021
@fedepaol
Copy link
Member

fedepaol commented Sep 8, 2021

Hi @ChipWolf , adding a node selector to the AddressPool object is currently part of this proposal

Would that solve your issue? As part of that, the idea is to enable the TrafficPolicy local for L2 load balancing. With that, metallb will advertise from a node selected by the selector AND with a running backend pod.

@ChipWolf
Copy link
Author

ChipWolf commented Sep 8, 2021

Hi @fedepaol, the proposal you referenced does appear to match our requirements. Thank you!

@ChipWolf ChipWolf closed this as completed Sep 8, 2021
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

2 participants