From 1a4948044c27e986a064ccd1ab72470155f996ee Mon Sep 17 00:00:00 2001 From: Morven Cao Date: Fri, 8 Sep 2023 21:05:56 +0800 Subject: [PATCH] update istio version. (#272) Signed-off-by: morvencao --- .../run-multicluster-servicemesh/README.md | 26 +++++++++---------- .../manifests/meshdeployment.yaml | 4 +-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/solutions/run-multicluster-servicemesh/README.md b/solutions/run-multicluster-servicemesh/README.md index 7d7080b37..8efdc74b0 100644 --- a/solutions/run-multicluster-servicemesh/README.md +++ b/solutions/run-multicluster-servicemesh/README.md @@ -46,15 +46,15 @@ Switched to context "kind-cluster1". # kubectl -n istio-system get pod NAME READY STATUS RESTARTS AGE istio-ingressgateway-6f87f4f86c-gt4tr 1/1 Running 0 19s -istio-operator-1-13-2-858b59bdb8-zpj5g 1/1 Running 0 53s -istiod-1-13-2-67b8bf75f8-28lrl 1/1 Running 0 28s +istio-operator-1-16-7-858b59bdb8-zpj5g 1/1 Running 0 53s +istiod-1-16-7-67b8bf75f8-28lrl 1/1 Running 0 28s # kubectl config use-context kind-cluster2 Switched to context "kind-cluster2". # kubectl -n istio-system get pod NAME READY STATUS RESTARTS AGE istio-ingressgateway-6f87f4f86c-jrs9k 1/1 Running 0 21s -istio-operator-1-13-2-858b59bdb8-d9xgs 1/1 Running 0 53s -istiod-1-13-2-67b8bf75f8-qk4rd 1/1 Running 0 32s +istio-operator-1-16-7-858b59bdb8-d9xgs 1/1 Running 0 53s +istiod-1-16-7-67b8bf75f8-qk4rd 1/1 Running 0 32s ``` ## Federate Service Meshes from Hub @@ -73,9 +73,9 @@ kubectl apply -f ./manifests/meshfederation.yaml ```bash kubectl config use-context kind-cluster1 kubectl create ns bookinfo -kubectl label namespace bookinfo istio.io/rev=1-13-2 -kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.13/samples/bookinfo/platform/kube/bookinfo.yaml -l 'app,version notin (v3)' -kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.13/samples/bookinfo/platform/kube/bookinfo.yaml -l 'account' +kubectl label namespace bookinfo istio.io/rev=1-16-7 +kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.16/samples/bookinfo/platform/kube/bookinfo.yaml -l 'app,version notin (v3)' +kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.16/samples/bookinfo/platform/kube/bookinfo.yaml -l 'account' ``` 2. Deploy another part(reviews-v3, ratings) of bookinfo application in cluster2: @@ -83,12 +83,12 @@ kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/relea ```bash kubectl config use-context kind-cluster2 kubectl create ns bookinfo -kubectl label namespace bookinfo istio.io/rev=1-13-2 -kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/bookinfo/platform/kube/bookinfo.yaml -l 'app,version in (v3)' -kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/bookinfo/platform/kube/bookinfo.yaml -l 'service=reviews' -kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/bookinfo/platform/kube/bookinfo.yaml -l 'account=reviews' -kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/bookinfo/platform/kube/bookinfo.yaml -l 'app=ratings' -kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.8/samples/bookinfo/platform/kube/bookinfo.yaml -l 'account=ratings' +kubectl label namespace bookinfo istio.io/rev=1-16-7 +kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.16/samples/bookinfo/platform/kube/bookinfo.yaml -l 'app,version in (v3)' +kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.16/samples/bookinfo/platform/kube/bookinfo.yaml -l 'service=reviews' +kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.16/samples/bookinfo/platform/kube/bookinfo.yaml -l 'account=reviews' +kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.16/samples/bookinfo/platform/kube/bookinfo.yaml -l 'app=ratings' +kubectl apply -n bookinfo -f https://raw.githubusercontent.com/istio/istio/release-1.16/samples/bookinfo/platform/kube/bookinfo.yaml -l 'account=ratings' ``` 3. Verify the microservices for the bookinfo application are up and running in cluster1 and cluster2: diff --git a/solutions/run-multicluster-servicemesh/manifests/meshdeployment.yaml b/solutions/run-multicluster-servicemesh/manifests/meshdeployment.yaml index 6cefc1d1e..92de07a0a 100644 --- a/solutions/run-multicluster-servicemesh/manifests/meshdeployment.yaml +++ b/solutions/run-multicluster-servicemesh/manifests/meshdeployment.yaml @@ -9,7 +9,7 @@ spec: components: ["base", "istiod", "istio-ingress"] namespace: istio-system profiles: ["default"] - version: 1.13.2 - revision: 1-13-2 + version: 1.16.7 + revision: 1-16-7 meshMemberRoll: ["bookinfo"] meshProvider: Upstream Istio