Before you begin

Before you begin a multicluster installation, review the deployment models guide which describes the foundational concepts used throughout this guide.

In addition, review the requirements and perform the initial steps below.

Requirements

Cluster

This guide requires that you have two Kubernetes clusters with any of the supported Kubernetes versions: 1.20, 1.21, 1.22, 1.23.

API Server Access

The API Server in each cluster must be accessible to the other clusters in the mesh. Many cloud providers make API Servers publicly accessible via network load balancers (NLB). If the API Server is not directly accessible, you will have to modify the installation procedure to enable access. For example, the east-west gateway used in the multi-network and primary-remote configurations could also be used to enable access to the API Server.

Environment Variables

This guide will refer to two clusters: cluster1 and cluster2. The following environment variables will be used throughout to simplify the instructions:

VariableDescription
CTX_CLUSTER1The context name in the default Kubernetes configuration file used for accessing the cluster1 cluster.
CTX_CLUSTER2The context name in the default Kubernetes configuration file used for accessing the cluster2 cluster.

Set the two variables before proceeding:

$ export CTX_CLUSTER1=<your cluster1 context>
$ export CTX_CLUSTER2=<your cluster2 context>

Configure Trust

A multicluster service mesh deployment requires that you establish trust between all clusters in the mesh. Depending on the requirements for your system, there may be multiple options available for establishing trust. See certificate management for detailed descriptions and instructions for all available options. Depending on which option you choose, the installation instructions for Istio may change slightly.

This guide will assume that you use a common root to generate intermediate certificates for each cluster. Follow the instructions to generate and push a CA certificate secret to both the cluster1 and cluster2 clusters.

Next steps

You’re now ready to install an Istio mesh across multiple clusters. The particular steps will depend on your requirements for network and control plane topology.

Choose the installation that best fits your needs:

Was this information useful?
Do you have any suggestions for improvement?

Thanks for your feedback!