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-router should auto-configure sensible MTU for kube-bridge instead of default one #165
Comments
@murali-reddy any expected date for this? We really need it. Also I was able to set manually the veth devices MTU, then kube-bridge MTU, then added the proper MTU to /etc/docker/daemon.json, but still having 1500 on my container's eth0 |
@dimm0 i am not sure how to go about existing clusters, but in new cluster certainly MTU can be set. I will see what other CNI providers that use bridge is inferring a sensible MTU. |
In addition to autoconfiguring this, there should be a environment variable or option that sets the MTU for the CNI. With Calico IP-in-IP, they recommend setting this to 8950 on hosts with MTU of 9000. |
I have marked this issue for next release. Will try to get resolution for this issue. |
For other ones facing this issue, a very nasty dont-show-your-mom-like workaround
|
Hey --- any news about resolution of putting mtu as variable? Bridge plugin has already interface for it: mtu (integer, optional): explicitly set MTU to the specified value. Defaults to the value chosen by the kernel. Thanks |
Any update? |
@carnivorelogic @michaelajr I will work on fix for this. Should be part of next release. |
@murali-reddy is there any chance to get this fix implemented? |
… kube-bridge interfaces Fixes #165
… kube-bridge interfaces Fixes #165
CNI bridge plug-in can be configured explictly to set MTU for the bridge and pod interfaces connected to the bridge
https://github.com/containernetworking/plugins/tree/master/plugins/main/bridge
Kube-router does not set MTU value by defaults, so it get sets to default value of 1500.
In cases where physical interface has large MTU (for e.g 9001) then
kube-bridge
can become bottleneck as path MTU effectively reduces to 1500The text was updated successfully, but these errors were encountered: