envoy icon indicating copy to clipboard operation
envoy copied to clipboard

Add the ability to bypass overload manager for listeners

Open cancecen opened this issue 1 year ago • 5 comments

Commit Message: Add the ability to bypass overload manager for listeners Additional Description: This flag can be used to disable overload manager on specific listeners where, for instance, we don't want to stop accepting requests. In my company, we implemented a CPU Utilization resource monitor that helps us drop requests when we hit a certain utilization percentage, but there are certain listeners that receive administrative traffic that we don't want overload manager to touch. Another use case is, we want to only throttle ingress traffic but not egress traffic going via Envoy. Another contributor authored https://github.com/envoyproxy/envoy/pull/29781, but it has been marked as stale.

Risk Level: Low Testing: Unit tests & Integration tests added Docs Changes: No Release Notes: Add bypass_overload_manager flag to Listener in order to prevent overload manager from taking actions on the traffic going through the said listener. Platform Specific Features:

cancecen avatar May 23 '24 17:05 cancecen

Hi @cancecen, 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.

:cat:

Caused by: https://github.com/envoyproxy/envoy/pull/34322 was opened by cancecen.

see: more, trace.

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

:cat:

Caused by: https://github.com/envoyproxy/envoy/pull/34322 was opened by cancecen.

see: more, trace.

PTAL @lizan for API review, thank you!

KBaichoo avatar May 28 '24 19:05 KBaichoo

/wait for CI and addressing review comments.

KBaichoo avatar May 28 '24 22:05 KBaichoo

Thank you for working on this. Can you include release notes? Also the CI failure looks legit.

Added the release notes, will investigate the CI failure.

cancecen avatar May 29 '24 04:05 cancecen

/retest

cancecen avatar Jun 03 '24 19:06 cancecen

CI is all passing now. Please let me know what you think. @RyanTheOptimist @lizan @KBaichoo

cancecen avatar Jun 03 '24 21:06 cancecen