c12s-kubespray/roles/network_plugin/canal/templates/cni-canal.conflist.j2

27 lines
495 B
Text
Raw Normal View History

{
"name": "cni0",
"cniVersion":"0.3.1",
"plugins":[
{
"type": "flannel",
"delegate": {
"type": "calico",
"etcd_endpoints": "{{ etcd_access_addresses }}",
"log_level": "info",
"policy": {
"type": "k8s"
},
"kubernetes": {
"kubeconfig": "{{ kube_config_dir }}/node-kubeconfig.yaml"
}
}
},
{
"type":"portmap",
"capabilities":{
"portMappings":true
}
}
]
}