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

Question: Zone aware routing: where does cluster state of the world comes from? #37867

Open
kubrickfr opened this issue Jan 3, 2025 · 2 comments
Labels
area/load balancing area/router question Questions that are neither investigations, bugs, nor enhancements

Comments

@kubrickfr
Copy link

kubrickfr commented Jan 3, 2025

In the documentation implies that routing decisions in this mode are based on knowledge about the number of other envoy nodes and their locality as well as the amount of traffic they receive.

I understand how each envoy node may send traffic information via LRS, but how do nodes get information about other envoy nodes?

EDIT: where the magic happens

@kubrickfr kubrickfr added the triage Issue requires triage label Jan 3, 2025
@ravenblackx ravenblackx added question Questions that are neither investigations, bugs, nor enhancements area/load balancing area/router and removed triage Issue requires triage labels Jan 3, 2025
@ravenblackx
Copy link
Contributor

@wbpcode might be the person to know more, as the load balancing person.

@kubrickfr
Copy link
Author

After reading the code, I think it's just assuming a fair distribution of request among the envoy nodes.

I'm still not clear how it knows about other envoy nodes though. Does the EDS endpoint have to send a CLA with the envoy nodes and cluster_name matching the node's cluster name defined in the bootstrap configuration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/load balancing area/router question Questions that are neither investigations, bugs, nor enhancements
Projects
None yet
Development

No branches or pull requests

2 participants