summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_virtlet/master_setup.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-11-12 13:59:25 -0500
committerGuo Ruijing <ruijing.guo@intel.com>2017-11-12 17:53:38 -0500
commit9f336c13e77998f09f57cec763e9508bc0062002 (patch)
treeae24d5a1673cf16ce068c8021d8c1825caf6c29e /src/vagrant/kubeadm_virtlet/master_setup.sh
parentc3b994bd12c09311cff459dbb18f64bf1d1eabab (diff)
update container4nfv deployment
1. use opnfv/container4nfv vagrant box to reduce installation time 2. reduce installation timeout 3. use same ip address for all deployment Change-Id: I0849590ada214f182c75bcdc9e72cb26dc6f6918 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/vagrant/kubeadm_virtlet/master_setup.sh')
-rw-r--r--src/vagrant/kubeadm_virtlet/master_setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vagrant/kubeadm_virtlet/master_setup.sh b/src/vagrant/kubeadm_virtlet/master_setup.sh
index 8831782..ba650ff 100644
--- a/src/vagrant/kubeadm_virtlet/master_setup.sh
+++ b/src/vagrant/kubeadm_virtlet/master_setup.sh
@@ -2,7 +2,7 @@
set -ex
-sudo timeout 3600 kubeadm init --apiserver-advertise-address=10.96.0.10 --service-cidr=10.96.0.0/24 --pod-network-cidr=10.244.0.0/16 --token 8c5adc.1cec8dbf339093f0
+sudo timeout 600 kubeadm init --apiserver-advertise-address=192.168.1.10 --service-cidr=10.96.0.0/24 --pod-network-cidr=10.244.0.0/16 --token 8c5adc.1cec8dbf339093f0
sudo cp /etc/kubernetes/admin.conf $HOME/
sudo chown $(id -u):$(id -g) $HOME/admin.conf
export KUBECONFIG=$HOME/admin.conf