Install Multi-Primary
Follow this guide to install the Istio control plane on both cluster1
and
cluster2
, making each a primary cluster. Both
clusters reside on the
network1
network, meaning there is direct
connectivity between the pods in both clusters.Before proceeding, be sure to complete the steps under before you begin6.
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.
Configure cluster1
as a primary
Create the istioctl
configuration for cluster1
:
Install Istio as primary in cluster1
using istioctl and the IstioOperator
API.
Apply the configuration to cluster1
:
Install Istio as primary in cluster1
using the following Helm commands:
Install the base
chart in cluster1
:
Then, install the istiod
chart in cluster1
with the following multi-cluster settings:
Configure cluster2
as a primary
Create the istioctl
configuration for cluster2
:
Install Istio as primary in cluster2
using istioctl and the IstioOperator
API.
Apply the configuration to cluster2
:
Install Istio as primary in cluster2
using the following Helm commands:
Install the base
chart in cluster2
:
Then, install the istiod
chart in cluster2
with the following multi-cluster settings:
Enable Endpoint Discovery
Install a remote secret in cluster2
that provides access to cluster1
’s API server.
Install a remote secret in cluster1
that provides access to cluster2
’s API server.
Congratulations! You successfully installed an Istio mesh across multiple primary clusters!
Next Steps
You can now verify the installation7.
Cleanup
Uninstall Istio from both cluster1
and cluster2
using the same mechanism you installed Istio with (istioctl or Helm).
Uninstall Istio in cluster1
:
Uninstall Istio in cluster2
:
Delete Istio Helm installation from cluster1
:
Delete the istio-system
namespace from cluster1
:
Delete Istio Helm installation from cluster2
:
Delete the istio-system
namespace from cluster2
:
(Optional) Delete CRDs installed by Istio:
Deleting CRDs permanently removes any Istio resources you have created in your clusters. Delete Istio CRDs installed in your clusters by running: