summaryrefslogtreecommitdiff
path: root/roles/kubernetes/standalone/templates/cni.conflist.j2
blob: 0b641097c934777faa22e87c271d535bda934ff6 (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
      }
    }
  ]
}