Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip overload actions for static listeners #52971

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

ramaraochavali
Copy link
Contributor

Fixes #52663
#41859

  • Ambient
  • Configuration Infrastructure
  • Docs
  • Dual Stack
  • Installation
  • Networking
  • Performance and Scalability
  • Extensions and Telemetry
  • Security
  • Test and Release
  • User Experience
  • Developer Infrastructure
  • Upgrade
  • Multi Cluster
  • Virtual Machine
  • Control Plane Revisions

Please check any characteristics that apply to this pull request.

  • Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
@ramaraochavali ramaraochavali requested review from a team as code owners September 3, 2024 06:42
@istio-testing istio-testing added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 3, 2024
@ramaraochavali
Copy link
Contributor Author

/retest

@@ -9,4 +9,5 @@ meshConfig:
defaultConfig:
proxyMetadata:
# 1.24 behaviour changes
ENABLE_DEFERRED_STATS_CREATION: "false"
ENABLE_DEFERRED_STATS_CREATION: "false"
BYPASS_OVERLOAD_MANAGER_FOR_STATIC_LISTENERS: "false"
Copy link
Contributor

Choose a reason for hiding this comment

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

For my context and understanding, what's the significance of adding this env variable here as opposed to in the pilot.env section?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is relevant to Pilot Agent - Not Pilot.

@ramaraochavali
Copy link
Contributor Author

/retest

Copy link
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

How does envoy know how much cpu / memory it is configurred?

{{- if .bypass_overload_manager}}
"ignore_global_conn_limit": true,
"bypass_overload_manager": true,
{{ end}}
Copy link
Member

Choose a reason for hiding this comment

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

And you did not set overload_manager

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this is to allow bypassing overload manager if/when it is configured. In this PR I am not configuring it. If folks use overload manager via #14366 (comment) - they get this benefit.

@ramaraochavali
Copy link
Contributor Author

How does envoy know how much cpu / memory it is configurred?

We have to configure it via configuration https://www.envoyproxy.io/docs/envoy/latest/configuration/operations/overload_manager/overload_manager#config-overload-manager - see as an example

@hzxuzhonghu
Copy link
Member

But i donot see the config in this patch?

@ramaraochavali
Copy link
Contributor Author

But i donot see the config in this patch?

No. This just ensures, if overload config is enabled by some means(bootstrap merge for example), the static listeners are not counted under overload actions. This PR does not enable overload manager.

@ramaraochavali
Copy link
Contributor Author

@howardjohn @hzxuzhonghu Can you PTAL?

Copy link
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

Need to emphasize this still need customizing bootstrap config #14366 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to disable overload manager for health checks and metrics
6 participants