Conversation
8abae0e to
e23145a
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5299 +/- ##
==========================================
+ Coverage 65.11% 65.22% +0.10%
==========================================
Files 212 212
Lines 33605 33675 +70
==========================================
+ Hits 21883 21965 +82
+ Misses 10399 10390 -9
+ Partials 1323 1320 -3 ☔ View full report in Codecov by Sentry. |
|
@arkodg mind taking a first-pass look? If possible I'd prefer to limit the scope here to enabling zone aware routing with future plans to implement something similar to Istio's locality failover or weighted distribution. Enabling both would require some more API design and I imagine changes to BackendTrafficPolicy but my current PR will enable zone aware routing usage without breaking or changing existing routing behavior (please correct me there). Edit: scratch that implementation wasn't too bad |
internal/xds/translator/testdata/out/xds-ir/backend-priority.endpoints.yaml
Outdated
Show resolved
Hide resolved
4afb192 to
77fead8
Compare
|
hey hoping we can get #5269 in first to avoid large merge conflicts |
77fead8 to
9c2c5b9
Compare
|
Will split the initContainer implementation to a separate PR |
9c2c5b9 to
d9c5542
Compare
d9c5542 to
45bb5a6
Compare
|
/retest |
3fc7d56 to
1062a5d
Compare
|
/retest |
1 similar comment
|
/retest |
b56f66b to
c0e7223
Compare
|
I'm finding some issues with this breaking weighted backends. @guydc or @arkodg could you have a look please? Which means the current logic of setting I also found an open Envoy issue which could be relevant regarding whether zone aware routing respects weights. I'm beginning to read through the loadbalancer code to build a better understanding but would either of you happen to know why zone aware lb config degrades routing for weighted backendRefs on xRoutes? |
|
/retest |
80b007c to
2fd35ea
Compare
|
/retest |
|
@jukie as a workaround can you
|
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
|
/retest |
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
|
/retest |
|
/retest |
1 similar comment
|
/retest |
|
@jukie is there a flaky? https://github.com/envoyproxy/gateway/actions/runs/13677062142/job/38239825535 need sort to make a stable result? |
What type of PR is this?
feat: enable Zone Aware Routing
What this PR does / why we need it:
This adds the ability to use Envoy's Zone Aware Routing via Kubernetes Topology Aware Routing or Traffic Distribution.
Implementation of zone discovery for envoy proxy instances will be handled separately in #5352
Which issue(s) this PR fixes:
xRef: #1909
Release Notes: Yes