Skip to content

Commit

Permalink
Add calico network
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Yuga committed Jan 1, 2021
1 parent 74ae1a4 commit bae0232
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hands-on/vagrant/roles/master/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@

- name: Deploy flannel to cluster
shell: kubectl --kubeconfig /home/vagrant/.kube/config create -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
when: network == "flannel"
when: network == "flannel"

- name: Deploy Calico to cluster
shell: kubectl --kubeconfig /home/vagrant/.kube/config create -f https://docs.projectcalico.org/manifests/calico.yaml
when: network == "calico"

0 comments on commit bae0232

Please sign in to comment.