Install Istio in the multi-primary multi-network topology on two clusters.
In this procedure, CLUSTER1
is the East cluster and CLUSTER2
is the West cluster.
You can adapt these instructions for a mesh spanning more than two clusters.
Topology
Service workloads across cluster boundaries communicate indirectly, via dedicated gateways for east-west traffic. The gateway in each cluster must be reachable from the other cluster.
Prerequisites
istioctl
installed locally so that you can use to run these instructions.ISTIO_VERSION
environment variable that defines the Istio version to installCreate an Istio
resource on the East cluster by running the following command:
Wait for the control plane to return the Ready
status condition by running the following command:
Create an East-West gateway on the East cluster by running the following command:
Expose the services through the gateway by running the following command:
Create an Istio
resource on the West cluster by running the following command:
Wait for the control plane to return the Ready
status condition by running the following command:
Create an East-West gateway on the West cluster by running the following command:
Expose the services through the gateway by running the following command:
istio-reader-service-account
service account for the East clusteristio-reader-service-account
service account for the West clustercluster-reader
role to the East clustercluster-reader
role to the West cluster