diff options
Diffstat (limited to 'recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist')
-rw-r--r-- | recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist b/recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist new file mode 100644 index 00000000..ca434d6f --- /dev/null +++ b/recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist | |||
@@ -0,0 +1,24 @@ | |||
1 | { | ||
2 | "cniVersion": "0.4.0", | ||
3 | "name": "containerd-net", | ||
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 | "subnet": "10.88.0.0/16", | ||
14 | "routes": [ | ||
15 | { "dst": "0.0.0.0/0" } | ||
16 | ] | ||
17 | } | ||
18 | }, | ||
19 | { | ||
20 | "type": "portmap", | ||
21 | "capabilities": {"portMappings": true} | ||
22 | } | ||
23 | ] | ||
24 | } | ||