apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: l2-network
namespace: my-namespace
spec:
config: |-
{
"cniVersion": "0.3.1", (1)
"name": "my-namespace-l2-network", (2)
"type": "ovn-k8s-cni-overlay", (3)
"topology":"layer2", (4)
"mtu": 1300, (5)
"netAttachDefName": "my-namespace/l2-network" (6)
}