...
4. Add Istio service entry with details of the remote servers ( server service 03 and server service 04) to the cluster where the client is running (For ISTIO multi-cluster communication usage of SNI ports is mandatory at both ends on istio-ingressgateway)
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#!/bin/bash COUNTER=0 while [ $COUNTER -lt 10 ]; do curl -v service01.bar.svc.cluster.local/headers sleep 2 done |
NOTE
...
-
...
Although
...
the
...
service
...
running
...
in
...
an external
...
cluster
...
can
...
be
...
accessed
...
by
...
following
...
the
...
steps
...
above,
...
the
...
failover
...
mechanism
...
is
...
not
...
yet
...
supported
...
by
...
ISTIO (Replicated control plane).
For this scenario, the intent must have the following istio configurations
Cluster | Istio configuration |
---|---|
cluster 01 | a. serviceEntry - of service serverservice04 as shown in step 4 b. virtualservice - having entries of serverservice04 (in cluster 02), serverservice01 (cluster 01) and serverservice02 (cluster 01) as shown in step 5 c. configmap - to add stubdomain .global in the coreDNS d. destinationRule - for any restrictions/loadbalancing amongst internal services/hosts |
cluster 02 | a. configmap - to add stubdomain .global in the coreDNS b. destinationRule - for any restrictions/loadbalancing amongst internal services/hosts |
IN PROGRESS......