summaryrefslogtreecommitdiffstats
path: root/vagrant/tests/virtlet.sh
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-12-18 22:33:06 -0800
committerVictor Morales <victor.morales@intel.com>2019-01-03 11:16:19 -0800
commit159eb9811ee7de4e99efc8f8a8404a2a9f455d70 (patch)
treed3a6ded9e39f8de76da02688d95802549ef2afb3 /vagrant/tests/virtlet.sh
parent881691b184661e460d3f6973d535a231e5d089de (diff)
Bump kubernetes client to 1.12.3
Bumping up the kubernetes client library used to kubernetes 1.12.3 We will move it to v10.0.0 once our k8s deployment moves to 1.13.0 Bumping kubectl version to 1.12.2 as andrewrothstein/ansible-kubectl does not have 1.12.3 in its main.yml Issue-ID: MULTICLOUD-301 Change-Id: Ifb2eaecb794bfdec19d631fdc9ece051d5ebfc60 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'vagrant/tests/virtlet.sh')
-rwxr-xr-xvagrant/tests/virtlet.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/vagrant/tests/virtlet.sh b/vagrant/tests/virtlet.sh
index 268247ba..04c1276d 100755
--- a/vagrant/tests/virtlet.sh
+++ b/vagrant/tests/virtlet.sh
@@ -26,8 +26,8 @@ setup $virtlet_deployment_name
# Test
deployment_pod=$(kubectl get pods | grep $virtlet_deployment_name | awk '{print $1}')
-vm_name=$(kubectl plugin virt virsh list | grep "virtlet-.*-$virtlet_deployment_name" | awk '{print $2}')
-vm_status=$(kubectl plugin virt virsh list | grep "virtlet-.*-$virtlet_deployment_name" | awk '{print $3}')
+vm_name=$(kubectl virt virsh list | grep "virtlet-.*-$virtlet_deployment_name" | awk '{print $2}')
+vm_status=$(kubectl virt virsh list | grep "virtlet-.*-$virtlet_deployment_name" | awk '{print $3}')
if [[ "$vm_status" != "running" ]]; then
echo "There is no Virtual Machine running by $deployment_pod pod"
exit 1
@@ -36,7 +36,7 @@ echo "Pod name: $deployment_pod Virsh domain: $vm_name"
echo "ssh testuser@$(kubectl get pods $deployment_pod -o jsonpath="{.status.podIP}")"
echo "kubectl attach -it $deployment_pod"
echo "=== Virtlet details ===="
-echo "$(kubectl plugin virt virsh dumpxml $vm_name | grep VIRTLET_)\n"
+echo "$(kubectl virt virsh dumpxml $vm_name | grep VIRTLET_)\n"
popd
# Teardown