kubeasz/roles/kube-node/templates/cni-default.conf.j2

14 lines
225 B
Plaintext
Raw Normal View History

2018-01-02 22:12:51 +08:00
{
"name": "mynet",
2019-10-19 22:25:42 +08:00
"cniVersion": "0.3.1",
2018-01-02 22:12:51 +08:00
"type": "bridge",
"bridge": "mynet0",
"isDefaultGateway": true,
"ipMasq": true,
"hairpinMode": true,
"ipam": {
"type": "host-local",
"subnet": "{{ CLUSTER_CIDR }}"
}
}