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

Disable caching of Secret and ConfigMap resources #3426

Closed
6 tasks done
Tracked by #3533
hiddeco opened this issue Dec 20, 2022 · 1 comment
Closed
6 tasks done
Tracked by #3533

Disable caching of Secret and ConfigMap resources #3426

hiddeco opened this issue Dec 20, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@hiddeco
Copy link
Member

hiddeco commented Dec 20, 2022

At present all controllers making use of Secret and/or ConfigMap references cache all these resources. Depending on the cluster, this may result in excessive memory usage while only a portion of the resources is actually being used. Especially when the cluster has for example a high number of Helm releases.

To reduce the memory footprint, we have agreed to disable the caching of these resources with an optional opt-in to enable it for clusters where this overhead is acceptable. The opt-in should rely on the same feature flag across controllers (even if they do not make use of both resource kinds), which is CacheSecretsAndConfigMaps.

@hiddeco
Copy link
Member Author

hiddeco commented Jan 30, 2023

Completed, further release is tracked in #3533.

@hiddeco hiddeco closed this as completed Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant