The event is not obtained from the apiserver cache #124724
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
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: