Skip to content

feat: Implement ZoneAware loadbalancing - ZoneAware Lb Config (splitup #6482) #6485

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

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

jukie
Copy link
Contributor

@jukie jukie commented Jul 8, 2025

What type of PR is this?

feat: Implement ZoneAware Lb Config

What this PR does / why we need it:
Implementation for LoadBalancer.ZoneAware API (Ref: #6154)

This adds the internal logic to support explicit configuration for Envoy LocalityLbConfig. Leaving the API marked as hidden/not-implemented because this will depend on a followup for tracking the EnvoyProxy Endpoints in xDS but splitting those changes out since it's a fairly large change (See #6482).

This also replaces DestinationSetting.ZoneAwareRouting with DestinationSetting.PreferLocal to consolidate under the new API field.

Which issue(s) this PR fixes:

xRef #6025

Release Notes: No
(will add release note for whichever PR gets merged last)

@jukie jukie requested a review from a team as a code owner July 8, 2025 16:38
@jukie
Copy link
Contributor Author

jukie commented Jul 8, 2025

CC @rudrakhp @arkodg as you reviewed the API PR

Signed-off-by: Jukie <10012479+Jukie@users.noreply.github.com>
@jukie jukie force-pushed the split-impl-zone-aware-routing branch from 7340dfc to 4e7f0c9 Compare July 8, 2025 16:46
Copy link

codecov bot commented Jul 8, 2025

Codecov Report

Attention: Patch coverage is 89.47368% with 8 lines in your changes missing coverage. Please review.

Project coverage is 71.15%. Comparing base (cba406d) to head (2f4f57a).

Files with missing lines Patch % Lines
internal/gatewayapi/route.go 72.22% 5 Missing ⚠️
internal/xds/translator/cluster.go 92.10% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6485      +/-   ##
==========================================
- Coverage   71.16%   71.15%   -0.02%     
==========================================
  Files         220      220              
  Lines       37985    38022      +37     
==========================================
+ Hits        27032    27054      +22     
- Misses       9382     9394      +12     
- Partials     1571     1574       +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
Copy link
Contributor Author

jukie commented Jul 8, 2025

/retest

1 similar comment
@jukie
Copy link
Contributor Author

jukie commented Jul 8, 2025

/retest

@jukie jukie changed the title feat: Implement ZoneAware Lb Config (Phase 1) feat: Implement ZoneAware loadbalancing - ZoneAware Lb Config (splitup #6482) Jul 10, 2025
@jukie
Copy link
Contributor Author

jukie commented Jul 10, 2025

/retest

@jukie
Copy link
Contributor Author

jukie commented Jul 12, 2025

/retest

Signed-off-by: Jukie <10012479+Jukie@users.noreply.github.com>
@arkodg arkodg modified the milestone: v1.5.0-rc.1 Release Jul 16, 2025
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 this pull request may close these issues.

2 participants