github.com/containerd/Containerd@v1.4.13/contrib/gce/cni.template (about) 1 { 2 "name": "k8s-pod-network", 3 "cniVersion": "0.3.1", 4 "plugins": [ 5 { 6 "type": "ptp", 7 "mtu": 1460, 8 "ipam": { 9 "type": "host-local", 10 "ranges": [{{range $i, $range := .PodCIDRRanges}}{{if $i}}, {{end}}[{"subnet": "{{$range}}"}]{{end}}], 11 "routes": [{{range $i, $route := .Routes}}{{if $i}}, {{end}}{"dst": "{{$route}}"}{{end}}] 12 } 13 }, 14 { 15 "type": "portmap", 16 "capabilities": { 17 "portMappings": true 18 } 19 } 20 ] 21 }