kubeasz/roles/calico/templates/cni-calico.conf.j2

21 lines
498 B
Plaintext
Raw Normal View History

2017-11-11 19:14:21 +08:00
{
"name": "calico-k8s-network",
"cniVersion": "0.1.0",
"type": "calico",
"etcd_endpoints": "{{ ETCD_ENDPOINTS }}",
2017-12-04 20:20:17 +08:00
"etcd_key_file": "/etc/calico/ssl/calico-key.pem",
"etcd_cert_file": "/etc/calico/ssl/calico.pem",
2017-11-11 19:14:21 +08:00
"etcd_ca_cert_file": "/etc/calico/ssl/ca.pem",
"log_level": "info",
"mtu": 1500,
"ipam": {
"type": "calico-ipam"
},
"policy": {
2017-11-25 21:31:00 +08:00
"type": "k8s"
2017-11-11 19:14:21 +08:00
},
"kubernetes": {
"kubeconfig": "/root/.kube/config"
}
}