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

Investigate resource usage on hot clusters #1374

Open
sebgoa opened this issue Mar 27, 2023 · 1 comment
Open

Investigate resource usage on hot clusters #1374

sebgoa opened this issue Mar 27, 2023 · 1 comment

Comments

@sebgoa
Copy link
Member

sebgoa commented Mar 27, 2023

When a cluster has e.g 30,000 secrets our informers could get quite busy .

Check the latest knative controller ways to reduce the load.

@sebgoa
Copy link
Member Author

sebgoa commented Mar 27, 2023

From Evan:

There are typically two cases:
We accidentally watch() a resource which normally has low cardinality, but some other application on the cluster pushes it to high cardinality. We’ve seen this for ConfigMaps and Secrets.
The Informer cache can get large in large clusters. In those cases, you need to increase memory limits on the controller, and you probably want to increase requests, too. You can observe this with standard telemetry, and can use the profiling port and profiling telemetry option to get detailed heap allocation statistics to pinpoint which objects are contributing.

and check: knative/serving#13442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant