Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
kube-proxy takes 20 mins to sync ipvs rules on startup #53736
Is this a BUG REPORT or FEATURE REQUEST?:
We have ~35 services, so not a huge amount.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
View the logs.
Anything else we need to know?:
I compared the iptables proxy code with ipvs code at branch 1.8 and can see a difference in the NewProxier function.
Whereas this is missing in ipvs at the 1.8 branch. I notice this code is present in master for ipvs. Could this be causing the sync issues I'm seeing? If so is this change likely to make it into a 1.8.x release in the near future as we would like to progress testing of ipvs.
I rebuilt kube-proxy with this commit -> 44afb09 (which includes the change I mentioned above) and it now seems to behave much better, and is syncing on startup and when changes occur.
I would like to cherry-pick the bug fix into 1.8 but don't have much experience. @cmluciano any consult?