Skip to content

Commit

Permalink
Unable to spin up multiple works for demo-kubeadm cluster
Browse files Browse the repository at this point in the history
The root cause is due to Makefile always hardcode to spin up
1 master and 1 worker. This PR is to utilize vagrantup.sh to spin
up k8s environment. Whereas vagrantup.sh will take the CONTIV_NODES
and CONTIV_MASTERS which matches the workflow of the Vagrantfile

Signed-off-by: Kahou Lei <kalei@cisco.com>
  • Loading branch information
kahou82 committed Sep 21, 2017
1 parent 4fe5cf3 commit be85c85
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ cluster-swarm-mode: vagrant-clean

# Brings up a demo cluster to install Contiv on with kubeadm, centos.
cluster-kubeadm: vagrant-clean
cd cluster && \
vagrant up kubeadm-master && \
vagrant up kubeadm-worker0
@bash ./scripts/vagrantup.sh kubeadm

cluster-destroy: vagrant-clean

Expand Down

0 comments on commit be85c85

Please # to comment.