fix issue in virtlet and disable istio 18/67818/1 stable/hunter
authorGuo Ruijing <ruijing.guo@intel.com>
Fri, 10 May 2019 10:27:14 +0000 (18:27 +0800)
committerGuo Ruijing <ruijing.guo@intel.com>
Fri, 10 May 2019 10:28:13 +0000 (18:28 +0800)
Change-Id: Ib75a486fceef9feb35f8fd6eaad78b97d8e44550
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
src/vagrant/kubeadm/deploy.sh
src/vagrant/kubeadm/virtlet/virtlet.sh

index 82b2483..eb61ad8 100755 (executable)
@@ -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"
index 505d7f0..4ed527e 100755 (executable)
@@ -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'