Skip to content

Commit 604148f

Browse files
committed
cleanup: move the timing delays to notes
1 parent 8a7d322 commit 604148f

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

extras/cloudsql-multicluster/README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ kubectx cluster2
151151
kubectl delete svc frontend -n ${NAMESPACE}
152152
```
153153

154-
13. **Run the Multi-cluster Ingress setup script.** This registers both GKE clusters to Anthos with "memberships," and sets cluster 1 as the "config cluster" to administer the Multi-cluster Ingress resources.
154+
13. **Run the Multi-cluster Ingress setup script.** This registers both GKE clusters to Anthos with ***"memberships"*** and sets cluster 1 as the ***"config cluster"*** to administer the Multi-cluster Ingress resources.
155155

156156
```
157157
./register_clusters.sh
@@ -166,7 +166,10 @@ kubectl apply -n ${NAMESPACE} -f multicluster-ingress.yaml
166166
```
167167

168168

169-
15. **Verify that the multicluster ingress resource was created.** Look for the `Status` field to be populated with two Network Endpoint Groups (NEGs) corresponding to the regions where your 2 GKE clusters are running. This may take a few minutes.
169+
15. **Verify that the multicluster ingress resource was created.** Look for the `Status` field to be populated with two Network Endpoint Groups (NEGs) corresponding to the regions where your 2 GKE clusters are running.
170+
171+
> **Note:** It may take up to 90 seconds before a `VIP` is assigned to the
172+
> MultiClusterIngress resource.
170173
171174
```
172175
watch kubectl describe mci frontend-global-ingress -n ${NAMESPACE}
@@ -186,14 +189,18 @@ Status:
186189
VIP: 34.120.172.105
187190
```
188191

189-
190192
16. **Copy the `VIP` field** to the clipboard and set as an env variable:
191193

192194
```
193195
export VIP=<your-VIP>
194196
```
195197

196-
17. **Test the geo-aware routing** by curling the `/whereami` frontend endpoint using the global VIP you copied. You could also create a Google Compute Engine instance in a specific region to test further. **Note that you may see a `404` or `502` error** for several minutes while the forwarding rules propagate.
198+
17. **Test the geo-aware routing** by curling the `/whereami` frontend endpoint using the global VIP you copied. You could also create a Google Compute Engine instance in a specific region to test further.
199+
200+
> **Note:** You may see `404` or `502` errors for several minutes while the
201+
> forwarding rules propagate. It can take up to 3 minutes and 30 seconds for the
202+
> endpoint to become ready to serve requests.
203+
197204

198205
```
199206
watch curl http://$VIP:80/whereami

0 commit comments

Comments
 (0)