Skip to content

Use cluster.loadBalancingPolicy instead of commonLbConfig#5833

Merged
arkodg merged 7 commits intoenvoyproxy:mainfrom
jukie:use-cluster-loadBalancingPolicy
Jul 7, 2025
Merged

Use cluster.loadBalancingPolicy instead of commonLbConfig#5833
arkodg merged 7 commits intoenvoyproxy:mainfrom
jukie:use-cluster-loadBalancingPolicy

Conversation

@jukie
Copy link
Contributor

@jukie jukie commented Apr 27, 2025

What type of PR is this?

What this PR does / why we need it:
Uses cluster.loadBalancingPolicy instead of commonLbConfig for access to all available fields during load balancer configuration.

Which issue(s) this PR fixes:

Fixes #5834

Release Notes: No

@jukie jukie marked this pull request as ready for review April 27, 2025 17:19
@jukie jukie requested a review from a team as a code owner April 27, 2025 17:19
@codecov
Copy link

codecov bot commented Apr 28, 2025

Codecov Report

Attention: Patch coverage is 84.07080% with 18 lines in your changes missing coverage. Please review.

Project coverage is 70.74%. Comparing base (c455a6e) to head (ae74b5c).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/xds/translator/cluster.go 84.07% 12 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5833      +/-   ##
==========================================
- Coverage   70.81%   70.74%   -0.07%     
==========================================
  Files         220      220              
  Lines       37582    37581       -1     
==========================================
- Hits        26613    26588      -25     
- Misses       9412     9428      +16     
- Partials     1557     1565       +8     

☔ 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.

@jukie
Copy link
Contributor Author

jukie commented Apr 28, 2025

/retest

2 similar comments
@jukie
Copy link
Contributor Author

jukie commented Apr 28, 2025

/retest

@jukie
Copy link
Contributor Author

jukie commented Apr 29, 2025

/retest

zirain
zirain previously approved these changes Apr 29, 2025
@jukie
Copy link
Contributor Author

jukie commented May 23, 2025

I'll reopen after some other pending MRs

@jukie jukie closed this May 23, 2025
@arkodg
Copy link
Contributor

arkodg commented May 23, 2025

thanks @jukie, lets get this PR into v1.5

@jukie
Copy link
Contributor Author

jukie commented May 23, 2025

This doesn't depend on any upstream changes so we could still get it into 1.4.x but just waiting until after other planned changes are in to avoid conflicts

@jukie jukie reopened this Jul 3, 2025
@jukie jukie force-pushed the use-cluster-loadBalancingPolicy branch from 6f84035 to ae50c94 Compare July 3, 2025 06:57
@jukie jukie requested a review from zirain July 3, 2025 06:58
@jukie
Copy link
Contributor Author

jukie commented Jul 3, 2025

Would like to start implementation for LoadBalancer.ZoneAware from #6154 but wanted to get this in first.

jukie added 4 commits July 4, 2025 16:13
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>
Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
@zirain zirain force-pushed the use-cluster-loadBalancingPolicy branch from 0b3c4fe to 403e10c Compare July 4, 2025 08:13
zirain
zirain previously approved these changes Jul 4, 2025
jukie and others added 2 commits July 7, 2025 13:33
Signed-off-by: Jukie <10012479+Jukie@users.noreply.github.com>
@jukie
Copy link
Contributor Author

jukie commented Jul 7, 2025

/retest

@arkodg arkodg merged commit 38e183f into envoyproxy:main Jul 7, 2025
44 of 47 checks passed
@jukie jukie deleted the use-cluster-loadBalancingPolicy branch July 7, 2025 22:41
tjvdmolen pushed a commit to tjvdmolen/gateway that referenced this pull request Jul 11, 2025
…#5833)

* Use cluster.loadBalancingPolicy instead of commonLbConfig

Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
Signed-off-by: Tjeerd Jan van der Molen <34071+tjvdmolen@users.noreply.github.com>
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.

Use cluster.loadBalancingPolicy to configure load balancer instead of commonLbConfig

3 participants