-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Investigate memory consumption of che-operator with growing number of namespaces on the cluster #20647
Comments
Don't close issue until doc is ready |
The problem was in caches that's managed by Controller Runtime framework used in Che Operator. It caches all objects of the kind if the operator gets at least one object. It had been worked fine, but when Che Operator was switched to watch all namespaces (this PR) it started to cache all objects in cluster. We spot the bug only on a big cluster. Also, migration is implemented, so update should be seamless for existing Che installations. |
sync'd to Red Hat JIRA https://issues.redhat.com/browse/CRW-2549 |
Is your task related to a problem? Please describe
che-operator
pod is OOMKilled when there are a lot of namespaces on the cluster.It has been fixed by [1] but still I can observer that operator consumes too much memory.
We have to find the reason and fix it.
[1] https://issues.redhat.com/browse/CRW-2383
[2] eclipse-che/che-operator#1146
Describe the solution you'd like
N/A
Describe alternatives you've considered
No response
Additional context
devfile/devworkspace-operator#616
#20529
Release Notes Text
Title: Improved operator memory consumption
Content: Fixed an operator issue that forced to augment the memory requirement based on the number of the namespaces on the cluster.
The text was updated successfully, but these errors were encountered: