From 0528b9a9bac18a3b6d700467def3318fd53bf22c Mon Sep 17 00:00:00 2001 From: JingLu5 Date: Tue, 16 Oct 2018 14:20:05 +0800 Subject: Update bookinfo application deploy and clean scripts for Istio 1.0.x Since Istio 1.0, a new traffic management API, a.k.a. v1alpha3, is being introduced. And there are also some minor changes in the deployment and clean steps for bookinfo application. Change-Id: I96c9eb552104dfdce15b4628b29c7cc72ac207b2 Signed-off-by: JingLu5 --- src/vagrant/kubeadm_istio/istio/bookinfo.sh | 4 ++-- src/vagrant/kubeadm_istio/istio/clean_bookinfo.sh | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/vagrant/kubeadm_istio/istio/bookinfo.sh b/src/vagrant/kubeadm_istio/istio/bookinfo.sh index ad8c120..c4eef11 100755 --- a/src/vagrant/kubeadm_istio/istio/bookinfo.sh +++ b/src/vagrant/kubeadm_istio/istio/bookinfo.sh @@ -21,10 +21,10 @@ cd /vagrant/istio-source/ export PATH=$PWD/bin:$PATH # Run the test application: bookinfo -kubectl apply -f <(istioctl kube-inject -f samples/bookinfo/kube/bookinfo.yaml) +kubectl apply -f <(istioctl kube-inject -f samples/bookinfo/platform/kube/bookinfo.yaml) # Define the ingress gateway for the application -istioctl create -f samples/bookinfo/routing/bookinfo-gateway.yaml +kubectl apply -f samples/bookinfo/networking/bookinfo-gateway.yaml # Wait for bookinfo deployed kubectl get services diff --git a/src/vagrant/kubeadm_istio/istio/clean_bookinfo.sh b/src/vagrant/kubeadm_istio/istio/clean_bookinfo.sh index ede825f..7c539c0 100755 --- a/src/vagrant/kubeadm_istio/istio/clean_bookinfo.sh +++ b/src/vagrant/kubeadm_istio/istio/clean_bookinfo.sh @@ -21,7 +21,9 @@ cd /vagrant/istio-source/ export PATH=$PWD/bin:$PATH # Clean up bookinfo -echo "" | samples/bookinfo/kube/cleanup.sh +echo "" | samples/bookinfo/platform/kube/cleanup.sh -istioctl get routerules +kubectl get virtualservices +kubectl get destinationrules +kubectl get gateway kubectl get pods -- cgit 1.2.3-korg