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

kube-proxy ipvs mode cpu too hight #35

Open
zhaogaolong opened this issue May 30, 2024 · 2 comments
Open

kube-proxy ipvs mode cpu too hight #35

zhaogaolong opened this issue May 30, 2024 · 2 comments

Comments

@zhaogaolong
Copy link

hi:

Recently, it was found that the CPU usage of kube-proxy is high in ipvs mode, and the method of doCmdWithRespone found to be ipvs through pprof has a large latency, and I don't know if there is a solution.

K8S version: 1.21.14
kernel: 5.10.x
IPVS version: v1.2.1

pprof :
图片

@andrewsykim
Copy link
Collaborator

K8S version: 1.21.14

This is a very old version of Kubernetes, I suggest trying to upgrade. I don't recall the details, but we resolve several performance issues in the kube-proxy IPVS implementation several years ago.

@zhaogaolong
Copy link
Author

zhaogaolong commented May 31, 2024

Thank you for your response.

see that the moby/ipvs v1.1.0 version used by kubernetes v1.27.x, does it mean that k8s needs to be upgraded to version v1.27.x or above?
@andrewsykim

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

2 participants