...
1apiVersion: v1
2kind: ConfigMap
3metadata:
4 name: multus-cni-config
5 namespace: multus
6 labels:
7 app: multus
8 tier: node
9data:
10 cni-conf.json: |-
11 {
12 "name": "multus-cni-network",
13 "type": "multus",
14 "cniVersion": "0.3.1",
15 "capabilities": {
16 "portMappings": true
17 },
18 "delegates": [
19 {
20 "type": "bandwidth",
21 "capabilities": {
22 "bandwidth": true
23 }
24 },
25 {
26 "type": "portmap",
27 "snat": true,
28 "capabilities": {
29 "portMappings": true
30 }
31 }
32 ]
33 }
34 ],
35 "kubeconfig": "/etc/cni/net.d/multus.d/multus.kubeconfig"
36 }
View as plain text