kube-apiserver oom, list resource consume too much memory cause json decode #125580
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/api-machinery
Categorizes an issue or PR as relevant to SIG API Machinery.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened?
The APIServer concurrency capability is too weak. In the test, the memory usage of 20 concurrent requests increases to 12 GB. The data size of "kubectl get crd -A -o yaml" is 20 MB.
after i specfic resourceVersion=0, memory usage does not improve:
What did you expect to happen?
Why does serialization consume so much memory? Is there any optimization mechanism?
How can we reproduce it (as minimally and precisely as possible)?
just kubectl get crd -A -o yaml & concurrently
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: