summaryrefslogtreecommitdiff
path: root/roles/kubernetes/standalone/base/templates/cni-with-portmap.conflist.j2
blob: 9f9b2b9aaa2d1c83e9d8e4c9310e598afd3fe985 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "cniVersion": "0.3.1",
  "name": "kube-standalone",
  "plugins": [
    {
      "type": "bridge",
      "bridge": "kube-bridge",
      "isDefaultGateway": true,
      "ipMasq": true,
      "hairpinMode": false,
      "ipam": {
        "type": "host-local",
        "subnet": "{{ kubernetes_standalone_pod_cidr }}"
      }
    }, {
      "type": "portmap",
      "capabilities": {
        "portMappings": true
      },
      "snat": true
    }
  ]
}