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.

40 lines
1.2 KiB

  1. ---
  2. - name: Write kube-apiserver manifest
  3. template:
  4. src: manifests/kube-apiserver.manifest.j2
  5. dest: "{{ kube_manifest_dir }}/kube-apiserver.manifest"
  6. notify: Master | wait for the apiserver to be running
  7. tags:
  8. - kube-apiserver
  9. - meta: flush_handlers
  10. - name: Write kube-scheduler kubeconfig
  11. template:
  12. src: kube-scheduler-kubeconfig.yaml.j2
  13. dest: "{{ kube_config_dir }}/kube-scheduler-kubeconfig.yaml"
  14. tags:
  15. - kube-scheduler
  16. - name: Write kube-scheduler manifest
  17. template:
  18. src: manifests/kube-scheduler.manifest.j2
  19. dest: "{{ kube_manifest_dir }}/kube-scheduler.manifest"
  20. notify: Master | wait for kube-scheduler
  21. tags:
  22. - kube-scheduler
  23. - name: Write kube-controller-manager kubeconfig
  24. template:
  25. src: kube-controller-manager-kubeconfig.yaml.j2
  26. dest: "{{ kube_config_dir }}/kube-controller-manager-kubeconfig.yaml"
  27. tags:
  28. - kube-controller-manager
  29. - name: Write kube-controller-manager manifest
  30. template:
  31. src: manifests/kube-controller-manager.manifest.j2
  32. dest: "{{ kube_manifest_dir }}/kube-controller-manager.manifest"
  33. notify: Master | wait for kube-controller-manager
  34. tags:
  35. - kube-controller-manager