script/config-cri-o/etc/cni/net.d/10-crio-bridge.conflist
raw| 1 | { |
| 2 | "cniVersion": "0.4.0", |
| 3 | "name": "crio", |
| 4 | "plugins": [ |
| 5 | { |
| 6 | "type": "bridge", |
| 7 | "bridge": "cni0", |
| 8 | "isGateway": true, |
| 9 | "ipMasq": true, |
| 10 | "promiscMode": true, |
| 11 | "ipam": { |
| 12 | "type": "host-local", |
| 13 | "routes": [{ "dst": "0.0.0.0/0" }], |
| 14 | "ranges": [ |
| 15 | [{ "subnet": "10.85.0.0/16" }] |
| 16 | ] |
| 17 | } |
| 18 | }, |
| 19 | { |
| 20 | "type": "portmap", |
| 21 | "capabilities": { |
| 22 | "portMappings": true |
| 23 | } |
| 24 | }] |
| 25 | } |