From bae023281869e8f47694b5fdc3c9950b4176334c Mon Sep 17 00:00:00 2001 From: Muhammad Yuga Date: Fri, 1 Jan 2021 19:30:10 +0700 Subject: [PATCH] Add calico network --- hands-on/vagrant/roles/master/tasks/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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