1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: userspace-vpp-net
spec:
config: '{
"cniVersion": "0.3.1",
"type": "userspace",
"name": "userspace-vpp-net",
"kubeconfig": "/etc/cni/net.d/multus.d/multus.kubeconfig",
"logFile": "/var/log/userspace-vpp-net-1-cni.log",
"logLevel": "debug",
"host": {
"engine": "vpp",
"iftype": "memif",
"netType": "interface",
"memif": {
"role": "master",
"mode": "ethernet"
}
},
"container": {
"engine": "vpp",
"iftype": "memif",
"netType": "interface",
"memif": {
"role": "slave",
"mode": "ethernet"
}
}
}'
|