-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
The event is not obtained from the apiserver cache #124724
Comments
/sig api-machinery |
|
Yes, this is a list request, and the request carries resourceVersion, but why is it not cached? |
you can refer to shouldDelegateList, the reason maybe is the request with resourceVersionMatch="Exact" query. |
/triage accepted |
What happened?
When /api/v1/namespaces/sop/events is requested, data is obtained from etcd instead of the apiserver cache. When there are too many events, etcd memory increases.
What did you expect to happen?
We expect that when /api/v1/namespaces/sop/events is requested, data is also fetched from the apiserver cache
How can we reproduce it (as minimally and precisely as possible)?
Request /api/v1/namespaces/sop/events. Check the etcd logs. It is found that data is directly obtained from etcd instead of apiserver cache.
Anything else we need to know?
No response
Kubernetes version
Cloud provider
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: