Skip to content

Document overload manager configuration #8749

Closed

Description

@maxbrunet

I am realizing that I depend on an undocumented behavior. The overload manager triggers when memory usage reaches 80% and stops accepting requests:

return uint64(float64(memLimitBytes) * 0.8)

overload_manager:
refresh_interval: 0.25s
resource_monitors:
- name: "envoy.resource_monitors.global_downstream_max_connections"
typed_config:
"@type": type.googleapis.com/envoy.extensions.resource_monitors.downstream_connections.v3.DownstreamConnectionsConfig
max_active_downstream_connections: 50000
{{- with .OverloadManager.MaxHeapSizeBytes }}
- name: "envoy.resource_monitors.fixed_heap"
typed_config:
"@type": type.googleapis.com/envoy.extensions.resource_monitors.fixed_heap.v3.FixedHeapConfig
max_heap_size_bytes: {{ . }}
actions:
- name: "envoy.overload_actions.shrink_heap"
triggers:
- name: "envoy.resource_monitors.fixed_heap"
threshold:
value: 0.95
- name: "envoy.overload_actions.stop_accepting_requests"
triggers:
- name: "envoy.resource_monitors.fixed_heap"
threshold:
value: 0.98
{{- end }}

I have configured the HorizontalPodAutoscaler threshold to a lower value, so I would consider any change that lower the overload manager threshold below it, a breaking change.

Maybe a new "Overload Manager" page under Traffic? Although it is not really a "task" since it is not configurable at the moment (#3604)

Activity

  1. added
    documentation
    help wanted
    on Apr 19, 2026
  2. arkodg commented on Apr 19, 2026

    @arkodg
    Contributor
  3. MateSousa commented on Sep 27, 2026

    @MateSousa
    Contributor

    @arkodg Can I work on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions