Scale issue: kube-apiserver memory increases a lot when restarting Antrea Agent in scale setup #1044
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Milestone
Describe the bug
After multiple Antrea Agents is restarted (delete the original Antrea Agent Pod), the RSS value of kube-apiserver should increase a lot.
Antrea Agent tries to list all Pods on current Node from kube-apiserver to reconcile when it starts, and kube-apiserver tries to pull all Pods from the backend etcd server to serve the request. This causes a lot of temp data is pulled into the memory of kube-apiserver.
To Reproduce
Expected
The RSS value of kube-apiserver should increase little.
Actual behavior
The RSS value of kube-apiserver might increase more than 1G.
Versions:
Please provide the following information:
kubectl version
): 1.18.6Additional context
Restart kubelet on the same Nodes, the memory of kube-apiserver increases little.
The text was updated successfully, but these errors were encountered: