Skip to content

Add default memory limit for shutdown-manager container #8912

Open

Description

@jemag

Description:

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.

Activity

  1. github-actions commented on Jun 3, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  2. jemag commented on Jun 3, 2026

    @jemag
    Author

    /not-stale

  3. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  4. jemag commented on Jul 5, 2026

    @jemag
    Author

    /not-stale

  5. github-actions commented on Aug 4, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  6. jemag commented on Aug 5, 2026

    @jemag
    Author

    /not-stale

  7. github-actions commented on Sep 4, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  8. jemag commented on Sep 4, 2026

    @jemag
    Author

    /not-stale

  9. github-actions commented on Oct 4, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days.

  10. jemag commented on Oct 7, 2026

    @jemag
    Author

    /not-stale

  11. added
    help wanted
    and removed on Oct 7, 2026
  12. Shrinet82 commented on Nov 24, 2026

    @Shrinet82

    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.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?

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

    help wantedno stalebot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions