Skip to content

Commit ca2c004

Browse files
committed
Do not set the MTU when using NetworkAttachementDefinition
The static MTU can be incorrect in some clusters, instead rely on the fact that when the MTU is left unset OVN-Kubernetes will use a default equal to the clusterNetworkMTU. https://github.com/ovn-kubernetes/ovn-kubernetes/blob/1df91ecad2dc2e283dd4106e2e5069aff9eb1eb5/go-controller/pkg/config/cni.go#L103 Signed-off-by: Patryk Diak <[email protected]>
1 parent 73ca29c commit ca2c004

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/extended/networking/network_segmentation.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,6 @@ func generateNAD(config networkAttachmentConfig) *nadapi.NetworkAttachmentDefini
19191919
"topology":%q,
19201920
"subnets": %q,
19211921
"excludeSubnets": %q,
1922-
"mtu": 1300,
19231922
"netAttachDefName": %q,
19241923
"vlanID": %d,
19251924
"allowPersistentIPs": %t,

0 commit comments

Comments
 (0)