Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High memory usage #2028

Open
githubcdr opened this issue Apr 22, 2024 · 1 comment
Open

High memory usage #2028

githubcdr opened this issue Apr 22, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@githubcdr
Copy link

What steps did you take and what happened:

After upgrading to version 0.20.0 I noticed that the trivy-operator process consumes a lot more memory. Previous version was able to run with 600Mb, Now I have to add at least 1G wit a steady 800Mi usage under load.

Why would an operator consume so much memory? It's just orchestrating scanners or is it?

  • Trivy-Operator version 0.20.0
  • Kubernetes version 1.29.4
  • OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc): talos linux
@githubcdr githubcdr added the kind/bug Categorizes issue or PR as related to a bug. label Apr 22, 2024
@chen-keinan
Copy link
Collaborator

@githubcdr it should no consume more memory than usual, the operator framework cache reports in order to improve performance but should be any additional effort on that area, are you getting errors in logs ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants