-
Notifications
You must be signed in to change notification settings - Fork 351
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
Support endpointslices - Prefer Same zone traffic to save costs #1446
Comments
Interesting KEP updates |
See also https://twitter.com/a_sykim/status/1413492899258400770?s=21 for changes in kubernetes 1.22 |
kubernetes/enhancements#4003 is an interesting change proposal within kubernetes |
A quick hack to enable endpointslices usage would be to have an annotation on ingress or routegroup to force service use instead of endpoints https://kubernetes.io/docs/concepts/services-networking/topology-aware-routing/ |
I think we have a flag for that introduced by #2088 |
@AlexanderYastrebov yes but by annotation would reduce the blast radius to test. If you have a cluster with a few pods and hug number of pods side-by-side than the few pods can easily be impaired. Example you have a backend with 8 pods, 3 in zone A and B and 2 in C. |
Right now in kubernetes dataclient we use endpoints to get lb pool members. These are flat ip port tuples.
In Kubernetes there is a new feature endpointslices that have topology which enables us to have endpoints for specific zones for example. With this we can optimize traffic costs, because same zone traffic costs less than cross zone traffic.
See also KEP topology per endpoint and KEP API
In a discussion in slack a user wrote:
5% is huge, and I think we to have have more priority for this
see also:
Steps
The text was updated successfully, but these errors were encountered: