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

Locality aware routing #862

Closed
howardjohn opened this issue Apr 2, 2024 · 0 comments · Fixed by #868
Closed

Locality aware routing #862

howardjohn opened this issue Apr 2, 2024 · 0 comments · Fixed by #868
Assignees

Comments

@howardjohn
Copy link
Member

We should support some 'locality aware' load balancing in ztunnel.

Kubernetes core Service has this now in 1.30: https://github.com/kubernetes/enhancements/tree/master/keps/sig-network/4444-service-routing-preference#summary. We can utilize this as the API.

This gives a 'PreferClose' to strictly use the close endpoints only, if they are available.

There is also existing "use only same node" mode that we will want to implement.

We will want to make PreferClose the default for waypoints.

API design TBD

@howardjohn howardjohn self-assigned this Apr 2, 2024
howardjohn added a commit to howardjohn/ztunnel that referenced this issue Apr 3, 2024
howardjohn added a commit to howardjohn/ztunnel that referenced this issue Apr 3, 2024
istio-testing pushed a commit that referenced this issue Apr 4, 2024
* Implement locality aware load balancing

Fixes #862

* Update docs

* Add tests and pick better names

* fixes
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

Successfully merging a pull request may close this issue.

1 participant