How to disable overload manager or global connection limit for health checks and prometheus listeners #51631
AleksanderBrzozowski
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use Envoy's Overload manager feature and
overload.global_downstream_max_connections
(which is deprecated in 1.30 and moved to overload_manager), but I fail to disable it for prometheus and health check listeners.What I found it that I can use custom bootstrap config to set up overload manager and
global_downstream_max_connections
. Then, I would like to disable these features for prometheus and health check listeners, so that even when connections / requests are rejected, these doesn't happen to prometheus metrics and health check - meaning that metrics are still queryable, and health check returns "OK".What I tried to do is using such EnvoyFilter:
However, this config is only applied to the "user" listeners, for example, when applied to Gateway, it is only applied to
8080
and8443
listeners. My idea was to enable setignore_global_conn_limit
for all listeners, and then disable it for8080
and8443
.Is there any other option to set it, so that
overload_manager
will ignore prometheus and health check ports?Beta Was this translation helpful? Give feedback.
All reactions