Skip to content

feat: Add BackendUtilization + WeightedZones support (WrrLocality Lb policy)#8634

Open
jukie wants to merge 2 commits intoenvoyproxy:mainfrom
jukie:wrr-locality-support
Open

feat: Add BackendUtilization + WeightedZones support (WrrLocality Lb policy)#8634
jukie wants to merge 2 commits intoenvoyproxy:mainfrom
jukie:wrr-locality-support

Conversation

@jukie
Copy link
Copy Markdown
Contributor

@jukie jukie commented Apr 1, 2026

What this PR does / why we need it:
Adds the ability to use wrr_locality which is a wrapped Lb Policy of client_side_weighted_round_robin while respecting locality weights.

Which issue(s) this PR fixes:

Fixes #8635

Release Notes: No - Existing release note for BackendUtilization is sufficient. I'll follow-up after this with a docs example too.

Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for cerulean-figolla-1f9435 canceled.

Name Link
🔨 Latest commit 554d63a
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/69cc9001b5c7870008b50e87
@jukie jukie changed the title Add BackendUtilization + WeightedZones support (WrrLocality Lb policy) Apr 1, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

❌ Patch coverage is 88.23529% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.44%. Comparing base (4dcb964) to head (554d63a).

Files with missing lines Patch % Lines
internal/xds/translator/cluster.go 88.23% 3 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8634      +/-   ##
==========================================
+ Coverage   74.41%   74.44%   +0.03%     
==========================================
  Files         243      243              
  Lines       38336    38363      +27     
==========================================
+ Hits        28526    28561      +35     
+ Misses       7814     7803      -11     
- Partials     1996     1999       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
@jukie jukie marked this pull request as ready for review April 1, 2026 03:24
@jukie jukie requested a review from a team as a code owner April 1, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant