This article will use two AWS EKS (Amazon Elastic Kubernetes Service) clusters, c1 and c2, located in different VPCs (Virtual Private Clouds) as examples to illustrate how to build a multi-cluster, multi-network service mesh.
For demonstration purposes, this article only selects two clusters to build the mesh. In practice, you can add more clusters that meet the prerequisites to the service mesh according to your needs.
6443
for kube-apiserver open, and the 6443
port of the load balancing device must forward traffic to the 6443
port of the control node.Select one of the prepared clusters and create a service mesh.
When creating the mesh, configure the corresponding parameters as follows, and configure other parameters as needed:
Multi-cluster
for the Mesh Architecture.Multi-network
for the Network Type.
Note: The platform will automatically deploy east-west traffic gateways for all clusters joining the mesh, connecting the networks between clusters.the platform
for the Monitoring System.In the left navigation bar, click Service Mesh > Mesh.
Click the Service Mesh Name of the cluster to be added.
Under the Mesh Details tab, in the Mesh Deployment section, click Add Cluster.
In the Basic Information section, select the cluster to join the service mesh.
Configure the mesh configuration and components at the cluster level according to the actual deployment needs.
Click Add.
Note:
After successful addition, the system will deploy service mesh-related components on the cluster in sequence. Click in the Mesh Deployment section to view the deployment progress.
After adding a cluster, the global configuration of the mesh (monitoring system, Elasticsearch integration configuration) will automatically synchronize to the newly added cluster.