From 6750f2af817b0db465ca7f431cd349d0445b3eb0 Mon Sep 17 00:00:00 2001 From: Patryk Diak Date: Fri, 9 May 2025 18:03:05 +0200 Subject: [PATCH] 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 --- test/extended/networking/network_segmentation.go | 1 - 1 file changed, 1 deletion(-) diff --git a/test/extended/networking/network_segmentation.go b/test/extended/networking/network_segmentation.go index 91a332516e63..d650e7706898 100644 --- a/test/extended/networking/network_segmentation.go +++ b/test/extended/networking/network_segmentation.go @@ -1466,7 +1466,6 @@ func generateNAD(config networkAttachmentConfig) *nadapi.NetworkAttachmentDefini "topology":%q, "subnets": %q, "excludeSubnets": %q, - "mtu": 1300, "netAttachDefName": %q, "vlanID": %d, "allowPersistentIPs": %t,