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.

17 lines
465 B

  1. - name: Create canal ConfigMap
  2. run_once: true
  3. kube:
  4. name: "canal-config"
  5. kubectl: "{{bin_dir}}/kubectl"
  6. filename: "{{kube_config_dir}}/canal-config.yaml"
  7. resource: "configmap"
  8. namespace: "{{system_namespace}}"
  9. - name: Start flannel and calico-node
  10. run_once: true
  11. kube:
  12. name: "canal-node"
  13. kubectl: "{{bin_dir}}/kubectl"
  14. filename: "{{kube_config_dir}}/canal-node.yaml"
  15. resource: "ds"
  16. namespace: "{{system_namespace}}"