You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add default memory limit for shutdown-manager container #8912
The shutdown-manager container has default resource requests but no resource limits.
This can cause issues in environments with strict resource policies or when a LimitRange is specified, which could inject a default limit that is not appropriate for this container. It also sets a good baseline for end-users, instead of having to gauge a proper limit.
Currently, users need to work around this by using the EnvoyProxy CRD's patch mechanism to inject limits, which is more cumbersome.
Requested behavior:
Add a default memory limit for the shutdown-manager container, similar to how the envoy container handles defaults.
One thing to avoid: a 32Mi limit was tried before in #4960 and got reverted because the shutdown-manager was OOMKilled in CI. Its memory use was around 25Mi idle and about 70Mi during shutdown, so I'd benchmark on kind and propose something like 128Mi, with no CPU limit, as agreed in #7550.
On @zirain's question about customizing it: today EnvoyGateway.provider.kubernetes.shutdownManager only has image, so the only way to change it is a Deployment patch. That doesn't work for people who turn off EnvoyProxyPatch (see #7550, #7770). I can add a resources field there, as either part of this PR or a follow-up.
Does that API shape work for you, or would you prefer it on EnvoyProxy?
Activity
github-actions commentedon Jun 3, 2026
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
jemag commentedon Jun 3, 2026
/not-stale
github-actions commentedon Jul 4, 2026
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
jemag commentedon Jul 5, 2026
/not-stale
github-actions commentedon Aug 4, 2026
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
jemag commentedon Aug 5, 2026
/not-stale
github-actions commentedon Sep 4, 2026
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
jemag commentedon Sep 4, 2026
/not-stale
github-actions commentedon Oct 4, 2026
This issue has been automatically marked as stale because it has not had activity in the last 30 days.
jemag commentedon Oct 7, 2026
/not-stale
Shrinet82 commentedon Nov 24, 2026
I'd like to take this since #10221 went stale.
One thing to avoid: a 32Mi limit was tried before in #4960 and got reverted because the shutdown-manager was OOMKilled in CI. Its memory use was around 25Mi idle and about 70Mi during shutdown, so I'd benchmark on kind and propose something like 128Mi, with no CPU limit, as agreed in #7550.
On @zirain's question about customizing it: today
EnvoyGateway.provider.kubernetes.shutdownManageronly hasimage, so the only way to change it is a Deployment patch. That doesn't work for people who turn off EnvoyProxyPatch (see #7550, #7770). I can add aresourcesfield there, as either part of this PR or a follow-up.Does that API shape work for you, or would you prefer it on EnvoyProxy?