Skip to content

add force_locality_direct_routing feature#38756

Merged
wbpcode merged 1 commit intoenvoyproxy:mainfrom
jukie:force-direct-routing
Apr 8, 2025
Merged

add force_locality_direct_routing feature#38756
wbpcode merged 1 commit intoenvoyproxy:mainfrom
jukie:force-direct-routing

Conversation

@jukie
Copy link
Copy Markdown
Contributor

@jukie jukie commented Mar 15, 2025

Commit Message: zone aware routing: add force_direct_routing
Additional Description: Allow forcing LocalityDirect routing mode for Zone Aware LB Config
Risk Level:
Testing:
Docs Changes: yes
Release Notes:
Platform Specific Features:

Fixes #38758

@repokitteh-read-only
Copy link
Copy Markdown

Hi @jukie, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #38756 was opened by jukie.

see: more, trace.

@repokitteh-read-only
Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #38756 was opened by jukie.

see: more, trace.

@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @wbpcode
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #38756 was opened by jukie.

see: more, trace.

@jukie jukie force-pushed the force-direct-routing branch from 5ce2826 to cc9459e Compare March 15, 2025 01:21
@jukie
Copy link
Copy Markdown
Contributor Author

jukie commented Mar 15, 2025

/retest

Copy link
Copy Markdown
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

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

Thanks for this contribution. Please add some more comment about the background and context to ensure it's acceptable for the community. Thanks again.

@jukie jukie marked this pull request as ready for review March 16, 2025 23:35
@jukie jukie requested a review from wbpcode March 16, 2025 23:36
@jukie jukie changed the title add force_direct_routing feature add force_locality_direct_routing feature Mar 20, 2025
@jukie jukie force-pushed the force-direct-routing branch from 9f90a14 to b564842 Compare March 20, 2025 20:26
@jukie
Copy link
Copy Markdown
Contributor Author

jukie commented Mar 20, 2025

/retest

wbpcode
wbpcode previously approved these changes Mar 22, 2025
Copy link
Copy Markdown
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

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

Thanks for this great contribution. This make sense and actually make thing simpler. could you add some tests for this new feature? Thanks again.

/lgtm api

@wbpcode wbpcode dismissed their stale review March 22, 2025 01:00

only lgtm to api.

@jukie jukie force-pushed the force-direct-routing branch 4 times, most recently from dc88d45 to 79cabec Compare March 25, 2025 13:27
@wbpcode
Copy link
Copy Markdown
Member

wbpcode commented Mar 26, 2025

/wait on ci

@jukie jukie force-pushed the force-direct-routing branch 2 times, most recently from 1bb63e4 to b321ffe Compare April 6, 2025 17:17
@jukie jukie requested a review from wbpcode April 6, 2025 17:59
@jukie jukie force-pushed the force-direct-routing branch from 454a69f to ccaf7bf Compare April 6, 2025 18:02
@jukie
Copy link
Copy Markdown
Contributor Author

jukie commented Apr 6, 2025

/retest

1 similar comment
@jukie
Copy link
Copy Markdown
Contributor Author

jukie commented Apr 7, 2025

/retest

Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
@jukie jukie force-pushed the force-direct-routing branch from ccaf7bf to 0a2d55a Compare April 7, 2025 21:51
@jukie jukie requested a review from arkodg April 7, 2025 23:40
Copy link
Copy Markdown
Member

@wbpcode wbpcode 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.

@wbpcode wbpcode merged commit c29a0ce into envoyproxy:main Apr 8, 2025
23 checks passed
@jukie jukie deleted the force-direct-routing branch April 10, 2025 16:22
wbpcode pushed a commit that referenced this pull request Apr 30, 2025
…#39058)

<!--
!!!ATTENTION!!!

If you are fixing *any* crash or *any* potential security issue, *do
not*
open a pull request in this repo. Please report the issue via emailing
envoy-security@googlegroups.com where the issue will be triaged
appropriately.
Thank you in advance for helping to keep Envoy secure.

!!!ATTENTION!!!

For an explanation of how to fill out the fields, please see the
relevant section
in
[PULL_REQUESTS.md](https://github.com/envoyproxy/envoy/blob/main/PULL_REQUESTS.md)
-->

Commit Message: Add force_local_zone to zone-aware routing with min_size
option and deprecate force_locality_direct_routing.
Additional Description: Follow-up to
#38756. Adds minimum zone size
parameter as a gate to forcing LocalityDirect mode in zone-aware-routing
and renames force_locality_direct_routing to force_local_zone.
Risk Level:
Testing:
Docs Changes: Yes
Release Notes:
Platform Specific Features:

Fixes #38561

---------

Signed-off-by: jukie <10012479+Jukie@users.noreply.github.com>
Signed-off-by: Jukie <10012479+Jukie@users.noreply.github.com>
update-envoy bot added a commit to envoyproxy/data-plane-api that referenced this pull request Jul 2, 2025
… (#39058)

<!--
!!!ATTENTION!!!

If you are fixing *any* crash or *any* potential security issue, *do
not*
open a pull request in this repo. Please report the issue via emailing
envoy-security@googlegroups.com where the issue will be triaged
appropriately.
Thank you in advance for helping to keep Envoy secure.

!!!ATTENTION!!!

For an explanation of how to fill out the fields, please see the
relevant section
in
[PULL_REQUESTS.md](https://github.com/envoyproxy/envoy/blob/main/PULL_REQUESTS.md)
-->

Commit Message: Add force_local_zone to zone-aware routing with min_size
option and deprecate force_locality_direct_routing.
Additional Description: Follow-up to
envoyproxy/envoy#38756. Adds minimum zone size
parameter as a gate to forcing LocalityDirect mode in zone-aware-routing
and renames force_locality_direct_routing to force_local_zone.
Risk Level:
Testing:
Docs Changes: Yes
Release Notes:
Platform Specific Features:

Fixes #38561

---------

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

Mirrored from https://github.com/envoyproxy/envoy @ 88490aacd429b9d1c8a9d6c47376d1338c18fe31
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.

Option to force LocalityDirect with Zone Aware Routing

3 participants