Install Multi-Primary

    Before proceeding, be sure to complete the steps under before you begin.

    In this configuration, each control plane observes the API Servers in both clusters for endpoints.

    Service workloads communicate directly (pod-to-pod) across cluster boundaries.

    Multiple primary clusters on the same network

    Create the Istio configuration for cluster1:

    Apply the configuration to :

    1. $ istioctl install --context="${CTX_CLUSTER1}" -f cluster1.yaml

    Apply the configuration to cluster2:

    1. $ istioctl install --context="${CTX_CLUSTER2}" -f cluster2.yaml

    Install a remote secret in cluster2 that provides access to ’s API server.

    Install a remote secret in cluster1 that provides access to cluster2’s API server.

    1. --context="${CTX_CLUSTER2}" \
    2. --name=cluster2 | \
    3. kubectl apply -f - --context="${CTX_CLUSTER1}"

    Congratulations! You successfully installed an Istio mesh across multiple primary clusters!

    You can now verify the installation.

    Initial steps before installing Istio on multiple clusters.

    Initial steps before configuring locality load balancing.

    Install Multi-Primary on different networks

    Install an Istio mesh across multiple primary clusters on different networks.

    Install an Istio mesh across primary and remote clusters.

    Install Primary-Remote on different networks

    Install an Istio mesh across primary and remote clusters on different networks.

    This task demonstrates how to configure your mesh for locality failover.