20 lines
464 B
YAML
20 lines
464 B
YAML
apiVersion: "k8s.cni.cncf.io/v1"
|
|
kind: NetworkAttachmentDefinition
|
|
metadata:
|
|
name: kubevirt-nad
|
|
spec:
|
|
config: '{
|
|
"cniVersion": "0.4.0",
|
|
"type": "bridge",
|
|
"bridge": "br-vlan50",
|
|
"isGateway": true,
|
|
"vlan": 50,
|
|
"ipam": {
|
|
"type": "host-local",
|
|
"subnet": "10.105.20.0/24",
|
|
"rangeStart": "10.105.20.30",
|
|
"rangeEnd": "10.105.20.230",
|
|
"routes" [{"dst": "10.105.6.0/24"}],
|
|
"gateway": "10.105.20.1"
|
|
}
|
|
}' |