Skip to content

chore: remove cluster.LbPolicy usage#8637

Merged
jukie merged 4 commits intoenvoyproxy:mainfrom
jukie:remove-lbpolicy-field
Apr 2, 2026
Merged

chore: remove cluster.LbPolicy usage#8637
jukie merged 4 commits intoenvoyproxy:mainfrom
jukie:remove-lbpolicy-field

Conversation

@jukie
Copy link
Copy Markdown
Contributor

@jukie jukie commented Apr 1, 2026

What this PR does / why we need it:
Usage of cluster.load_balancing_policy was introduced in #5833 and is alwas configured. When this field is present it always supersedes cluster.lb_policy - https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto

We should remove the now redundant usage of lb_policy which also helps reduce xds config size for each cluster.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 1, 2026

Deploy Preview for cerulean-figolla-1f9435 canceled.

Name Link
🔨 Latest commit 83bbb7f
🔍 Latest deploy log https://app.netlify.com/projects/cerulean-figolla-1f9435/deploys/69ce809b69e9c100084b046d

@jukie jukie changed the title Remove cluster.LbPolicy usage chore: remove cluster.LbPolicy usage Apr 1, 2026
@jukie jukie marked this pull request as ready for review April 1, 2026 03:20
@jukie jukie requested a review from a team as a code owner April 1, 2026 03:20
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.48%. Comparing base (77965c3) to head (83bbb7f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8637      +/-   ##
==========================================
- Coverage   74.51%   74.48%   -0.03%     
==========================================
  Files         243      243              
  Lines       38677    38670       -7     
==========================================
- Hits        28819    28803      -16     
- Misses       7865     7873       +8     
- Partials     1993     1994       +1     

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

arkodg
arkodg previously approved these changes Apr 2, 2026
Copy link
Copy Markdown
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

@arkodg arkodg requested review from a team April 2, 2026 01:46
@arkodg arkodg added this to the v1.8.0-rc.1 Release milestone Apr 2, 2026
@jukie jukie requested a review from arkodg April 2, 2026 13:27
jukie and others added 4 commits April 2, 2026 22:43
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 remove-lbpolicy-field branch from 1531be9 to 83bbb7f Compare April 2, 2026 14:43
@jukie
Copy link
Copy Markdown
Contributor Author

jukie commented Apr 2, 2026

/retest

@rudrakhp
Copy link
Copy Markdown
Member

rudrakhp commented Apr 2, 2026

/retest

@jukie jukie merged commit b4b5cab into envoyproxy:main Apr 2, 2026
68 of 72 checks passed
@jukie jukie deleted the remove-lbpolicy-field branch April 2, 2026 16:53
skos-ninja pushed a commit to skos-ninja/envoy-gateway that referenced this pull request May 1, 2026
* Remove cluster.LbPolicy usage

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

* regen after merging main

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

* regen

Signed-off-by: jukie <10012479+jukie@users.noreply.github.com>

* regen

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: Jake Oliver <jake@truelayer.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.

3 participants