From a964b14d94719a99113909363ede34482b8f0f61 Mon Sep 17 00:00:00 2001 From: Ashwini Singh Date: Thu, 5 Dec 2019 13:00:34 -0500 Subject: [PATCH] Updating network plug in https://github.com/ecomm-integration-ballerina/kubernetes-cluster/issues/11 --- Vagrantfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 02a5482..814f62b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -84,8 +84,7 @@ $configureMaster = <<-SCRIPT # install Calico pod network addon export KUBECONFIG=/etc/kubernetes/admin.conf - kubectl apply -f https://raw.githubusercontent.com/ecomm-integration-ballerina/kubernetes-cluster/master/calico/rbac-kdd.yaml - kubectl apply -f https://raw.githubusercontent.com/ecomm-integration-ballerina/kubernetes-cluster/master/calico/calico.yaml + kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')" kubeadm token create --print-join-command >> /etc/kubeadm_join_cmd.sh chmod +x /etc/kubeadm_join_cmd.sh @@ -137,4 +136,4 @@ Vagrant.configure("2") do |config| end -end \ No newline at end of file +end