script/demo/config.cni.conflist
raw| 1 | { |
| 2 | "cniVersion": "0.4.0", |
| 3 | "name": "demo", |
| 4 | "plugins" : [{ |
| 5 | "type": "bridge", |
| 6 | "bridge": "optimizer0", |
| 7 | "isDefaultGateway": true, |
| 8 | "forceAddress": false, |
| 9 | "ipMasq": true, |
| 10 | "hairpinMode": true, |
| 11 | "ipam": { |
| 12 | "type": "host-local", |
| 13 | "subnet": "10.10.0.0/16" |
| 14 | } |
| 15 | }, |
| 16 | { |
| 17 | "type": "loopback" |
| 18 | }] |
| 19 | } |