summaryrefslogtreecommitdiff
path: root/roles/kubernetes/kubeadm/base/templates/net_kubeguard/k8s.json.j2
blob: 65b1357af451e465f2fd098fdfdc38796e98f1cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{
  "cniVersion": "0.3.1",
  "name": "k8s",
  "type": "bridge",
  "bridge": "kube-br0",
  "isDefaultGateway": true,
  "hairpinMode": true,
  "ipam": {
    "type": "host-local",
    "subnet": "{{ kubernetes.pod_ip_range | ipsubnet(kubernetes.pod_ip_range_size, kubeguard.node_index[inventory_hostname]) }}"
  }
}