Skip to content

Memory leak: memory usage slowly creeps upwards even if not doing anything #100

Open
@corneliusroemer

Description

@corneliusroemer

Describe the bug

The secret generator appears to have a memory leak of some sort. If I limit its max memory to 200MB it dies every once in a while, even if I'm not generating any secrets whatsoever.

Without limit, it grows to up to 800MB or more - it's unclear for what reason it needs so much memory.

To Reproduce

Install into empty cluster, observe memory usage with kubectl top

Expected behavior

Memory usage is consistently low and doesn't grow to 800MB

Environment:

  • Kubernetes version: 1.29
  • kubernetes-secret-generator version: latest (installed recently via helm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions