ssp-operator icon indicating copy to clipboard operation
ssp-operator copied to clipboard

DRAFT - feat: Limit cache to watch only relevant objects

Open akrejcir opened this issue 8 months ago • 5 comments

WORK IN PROGRESS

What this PR does / why we need it: Currently the cache watches all objects of specific types in all namespaces. This adds unnecessary memory load to the operator. The allocated memory scales with objects in the cluster that are not related to the operator, for example deployments created by users.

This PR limits which objects the cache watches.

Which issue(s) this PR fixes: Jira: https://issues.redhat.com/browse/CNV-41247 Jira: https://issues.redhat.com/browse/CNV-38130

Release note:

None

akrejcir avatar Jun 12 '24 09:06 akrejcir