-
Notifications
You must be signed in to change notification settings - Fork 471
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-dummy-if is created in Pod (possibly DSR?!) #248
Comments
It definitely is a namespace issue due to DSR. So kube-router running in host namespace enters into pod’s network namespace to create tunnels, dummy interfaces etc. I have run into issue multiple times during development of DSR, where kube-router should gracefully should return back to the host network namespace. Failing which results are catastrohpic like this one. I tested various corner cases and added necessary defence. But looks like there is still a case where switch does not happen. just FYI, if DSR is not used, namespace are never touched by Kube-router |
@thoro Possibly there is bigger issue with switching namespaces with GoLang https://www.weave.works/blog/linux-namespaces-and-go-don-t-mix For now i added more logging, and pin the go routine to the same thread. If the problem still reproduces then only possible solution is to fork the process to achive network configuration in the pod |
Re-open if issue is still seen. |
I'm currently testing DSR as a passive option (e.g. not activly utilizing it)
Today the pod that has the DSR Tunnel (kube-tunnel-if) suddenly also had the kube-dummy-if.
I believe there may be some timing issue in creating / updating the dummy-if and the tunnel-if.
The text was updated successfully, but these errors were encountered: