diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2019-05-10 18:27:14 +0800 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2019-05-10 18:28:13 +0800 |
commit | 7a5ffe11c53e77e16383e712aad823e333b61aff (patch) | |
tree | 25cc2f312ae89957e15b9634eb46bd94fc5959cb /src/vagrant/kubeadm | |
parent | 155d8bf69ba6bfb4707b17bb778b77648bf5110a (diff) |
fix issue in virtlet and disable istiostable/hunter
Change-Id: Ib75a486fceef9feb35f8fd6eaad78b97d8e44550
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/vagrant/kubeadm')
-rwxr-xr-x | src/vagrant/kubeadm/deploy.sh | 1 | ||||
-rwxr-xr-x | src/vagrant/kubeadm/virtlet/virtlet.sh | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/vagrant/kubeadm/deploy.sh b/src/vagrant/kubeadm/deploy.sh index 82b2483..eb61ad8 100755 --- a/src/vagrant/kubeadm/deploy.sh +++ b/src/vagrant/kubeadm/deploy.sh @@ -8,4 +8,3 @@ cd $DIR vagrant up vagrant ssh master -c "/vagrant/kata/nginx-app.sh" vagrant ssh master -c "/vagrant/virtlet/virtlet.sh" -vagrant ssh master -c "/vagrant/istio/istio.sh" diff --git a/src/vagrant/kubeadm/virtlet/virtlet.sh b/src/vagrant/kubeadm/virtlet/virtlet.sh index 505d7f0..4ed527e 100755 --- a/src/vagrant/kubeadm/virtlet/virtlet.sh +++ b/src/vagrant/kubeadm/virtlet/virtlet.sh @@ -13,9 +13,9 @@ kubectl create -f /vagrant/virtlet/cirros-vm.yaml r="0" while [ $r -ne "1" ] do - r=$(kubectl get pods | grep Running | wc -l) + r=$(kubectl get pods cirros-vm | grep Running | wc -l) sleep 60 done -sleep 60 -kubectl get pods -o json | grep podIP | cut -f4 -d'"' | xargs ping -c 4 +sleep 360 +kubectl get pods cirros-vm -o custom-columns=:.status.podIP | xargs ping -c 4 echo 'login by user:cirros & password:gocubsgo' |