moby / moby/ipvs

kube-proxy ipvs mode cpu too hight

Open
#35 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
110
Forks
39
PR merge metrics
No merged PRs in 30d

Description

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 :
图片

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied pprof evidence and the doCmdWithRespone path related to kube-proxy IPVS mode, comparing its behavior with the stated Kubernetes, kernel, and IPVS versions. Determine the cause of the high CPU and command latency, then document or validate a solution with reproducible profiling results.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.