diff --git a/hands-on/vagrant/roles/master/tasks/main.yml b/hands-on/vagrant/roles/master/tasks/main.yml index bea7827..0f07d11 100644 --- a/hands-on/vagrant/roles/master/tasks/main.yml +++ b/hands-on/vagrant/roles/master/tasks/main.yml @@ -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" \ No newline at end of file + 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" \ No newline at end of file