You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
676 B

  1. {
  2. "name": "cni0",
  3. "cniVersion":"0.3.1",
  4. "plugins":[
  5. {
  6. "type": "flannel",
  7. "delegate": {
  8. "type": "calico",
  9. "etcd_endpoints": "{{ etcd_access_addresses }}",
  10. "etcd_key_file": "{{ canal_cert_dir }}/key.pem",
  11. "etcd_cert_file": "{{ canal_cert_dir }}/cert.crt",
  12. "etcd_ca_cert_file": "{{ canal_cert_dir }}/ca_cert.crt",
  13. "log_level": "info",
  14. "policy": {
  15. "type": "k8s"
  16. },
  17. "kubernetes": {
  18. "kubeconfig": "{{ kube_config_dir }}/node-kubeconfig.yaml"
  19. }
  20. }
  21. },
  22. {
  23. "type":"portmap",
  24. "capabilities":{
  25. "portMappings":true
  26. }
  27. }
  28. ]
  29. }