-
Notifications
You must be signed in to change notification settings - Fork 431
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
MTU in underlay pods should match the physical network's MTU #2837
Comments
Did you change ens8's MTU after kube-ovn-cni starts up? |
@zhangzujian no i didn't Actually the behaviour seems the opposite: in overlay network when deploying a pod i get
So in overlay mode is seems it gets the correct MTU (where is it from? i guess its inherited from ovn0 interface.
I did not apply the patch from #2834 |
In my environment, it works as expected. The node where the pod runs has a label |
Hi, i applied your patch and reinstalled from scratch: now it shows and container has 8900 mtu which looks good! |
Expected Behavior
when using a provider network physical interface with a certain MTU the same (or the same - some headers, such as 100 bytes) should be injected by the kubelet in pods
Actual Behavior
pods have eth0 interface with MTU set to 1500
Steps to Reproduce the Problem
create a underlay subnet backed by ens8 interface, in this case MTU is 9000
ip l
it will return 1500. This may affect performance and reliability of transports (big frames may be dropped on pod side while they shouldn't).
Additional Info
Kubernetes version: 1.27
kube-ovn version: 1.11.5
operation-system/kernel version: ubuntu 22.04
The text was updated successfully, but these errors were encountered: