Skip to content

Conversation

bplotnick
Copy link
Contributor

Commit Message: Allow subsetlb to match on connection metadata in addition to the existing route and request metadata
Additional Description: Currently, the subsetlb only looks at request and route metadata. In some cases, we might want to use connection-level dynamic metadata as well. This adds support for that.
Risk Level: Low
Testing: Unit tests
Docs Changes:
Release Notes: Router now takes into account connection-level metadata under the envoy.lb namespace when computing subset load balancing matches.
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@bplotnick bplotnick changed the title router: Upstream connection metadata subset match router: Connection metadata subset match Sep 30, 2025
Signed-off-by: Ben Plotnick <[email protected]>
KBaichoo
KBaichoo previously approved these changes Oct 1, 2025
Copy link
Contributor

@KBaichoo KBaichoo left a comment

Choose a reason for hiding this comment

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

/assign @zuercher

@KBaichoo
Copy link
Contributor

KBaichoo commented Oct 1, 2025

pending CI fixes:

Seems like the test failures might be legit:
image

/wait

@KBaichoo KBaichoo self-assigned this Oct 1, 2025
@zuercher
Copy link
Member

zuercher commented Oct 2, 2025

/retest

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