5
5
[id="ossm-verifying-multi-cluster-topology_{context} "]
6
6
= Verifying a multi-cluster topology
7
7
8
- Deploy sample applications and verify traffic on a multi-cluster topology on two {ocp-product-title} clusters.
8
+ Deploy sample applications and verify traffic on a multi-cluster topology on two {ocp-product-title} clusters.
9
9
10
10
[NOTE]
11
11
====
12
- In this procedure, `CLUSTER1` is the East cluster and `CLUSTER2` is the West cluster.
12
+ In this procedure, `CLUSTER1` is the East cluster and `CLUSTER2` is the West cluster.
13
13
====
14
14
15
15
.Prerequisites
16
16
17
17
* You have installed the {SMProduct} Operator on all of the clusters that comprise the mesh.
18
18
19
- * You have completed "Creating certificates for a multi-cluster mesh".
19
+ * You have completed "Creating certificates for a multi-cluster mesh".
20
20
21
21
* You have completed "Applying certificates to a multi-cluster topology".
22
22
@@ -51,7 +51,7 @@ $ oc --context="${CTX_CLUSTER1}" label namespace sample istio-injection=enabled
51
51
[source,terminal]
52
52
----
53
53
$ oc --context="${CTX_CLUSTER1}" apply \
54
- -f https://raw.githubusercontent.com/istio /istio/${ISTIO_VERSION} /samples/helloworld/helloworld.yaml \
54
+ -f https://raw.githubusercontent.com/openshift-service-mesh /istio/release-1.24 /samples/helloworld/helloworld.yaml \
55
55
-l service=helloworld -n sample
56
56
----
57
57
@@ -60,7 +60,7 @@ $ oc --context="${CTX_CLUSTER1}" apply \
60
60
[source,terminal]
61
61
----
62
62
$ oc --context="${CTX_CLUSTER1}" apply \
63
- -f https://raw.githubusercontent.com/istio /istio/${ISTIO_VERSION} /samples/helloworld/helloworld.yaml \
63
+ -f https://raw.githubusercontent.com/openshift-service-mesh /istio/release-1.24 /samples/helloworld/helloworld.yaml \
64
64
-l version=v1 -n sample
65
65
----
66
66
@@ -69,7 +69,7 @@ $ oc --context="${CTX_CLUSTER1}" apply \
69
69
[source,terminal]
70
70
----
71
71
$ oc --context="${CTX_CLUSTER1}" apply \
72
- -f https://raw.githubusercontent.com/istio /istio/${ISTIO_VERSION} /samples/sleep/sleep.yaml -n sample
72
+ -f https://raw.githubusercontent.com/openshift-service-mesh /istio/release-1.24 /samples/sleep/sleep.yaml -n sample
73
73
----
74
74
75
75
.. Wait for the `helloworld` application on the East cluster to return the `Ready` status condition by running the following command:
@@ -109,7 +109,7 @@ $ oc --context="${CTX_CLUSTER2}" label namespace sample istio-injection=enabled
109
109
[source,terminal]
110
110
----
111
111
$ oc --context="${CTX_CLUSTER2}" apply \
112
- -f https://raw.githubusercontent.com/istio /istio/${ISTIO_VERSION} /samples/helloworld/helloworld.yaml \
112
+ -f https://raw.githubusercontent.com/openshift-service-mesh /istio/release-1.24 /samples/helloworld/helloworld.yaml \
113
113
-l service=helloworld -n sample
114
114
----
115
115
@@ -118,7 +118,7 @@ $ oc --context="${CTX_CLUSTER2}" apply \
118
118
[source,terminal]
119
119
----
120
120
$ oc --context="${CTX_CLUSTER2}" apply \
121
- -f https://raw.githubusercontent.com/istio /istio/${ISTIO_VERSION} /samples/helloworld/helloworld.yaml \
121
+ -f https://raw.githubusercontent.com/openshift-service-mesh /istio/release-1.24 /samples/helloworld/helloworld.yaml \
122
122
-l version=v2 -n sample
123
123
----
124
124
@@ -127,7 +127,7 @@ $ oc --context="${CTX_CLUSTER2}" apply \
127
127
[source,terminal]
128
128
----
129
129
$ oc --context="${CTX_CLUSTER2}" apply \
130
- -f https://raw.githubusercontent.com/istio /istio/${ISTIO_VERSION} /samples/sleep/sleep.yaml -n sample
130
+ -f https://raw.githubusercontent.com/openshift-service-mesh /istio/release-1.24 /samples/sleep/sleep.yaml -n sample
131
131
----
132
132
133
133
.. Wait for the `helloworld` application on the West cluster to return the `Ready` status condition by running the following command:
@@ -155,7 +155,7 @@ $ for i in {0..9}; do \
155
155
done
156
156
----
157
157
+
158
- Verify that you see responses from both clusters. This means version 1 and version 2 of the service can be seen in the responses.
158
+ Verify that you see responses from both clusters. This means version 1 and version 2 of the service can be seen in the responses.
159
159
160
160
. For the West cluster, send 10 requests to the `helloworld` service:
161
161
+
@@ -166,4 +166,4 @@ $ for i in {0..9}; do \
166
166
done
167
167
----
168
168
+
169
- Verify that you see responses from both clusters. This means version 1 and version 2 of the service can be seen in the responses.
169
+ Verify that you see responses from both clusters. This means version 1 and version 2 of the service can be seen in the responses.
0 commit comments