All Products
Search
Document Center

Alibaba Cloud Service Mesh:Add a cluster to an ASM instance

Last Updated:Mar 11, 2026

When you run services across one or more Kubernetes clusters, adding those clusters to a Service Mesh (ASM) instance lets ASM manage service-to-service communication, traffic routing, and observability from a single control plane.

Adding a cluster connects its data plane to the ASM control plane. The workflow depends on network connectivity between the cluster and the ASM instance:

  1. Confirm that the ASM instance and the Kubernetes cluster exist.

  2. Determine whether the cluster and the ASM instance can communicate over a shared or interconnected Virtual Private Cloud (VPC).

  3. If not, establish connectivity first.

  4. Add the cluster through the ASM console.

  5. Verify that the ASM instance returns to Running status.

Prerequisites

Before you begin, make sure that you have:

Network connectivity options

For the simplest setup, place the cluster and the ASM instance in the same VPC.

A VPC-connected cluster meets either of the following conditions:

  • The cluster is in the same VPC as the ASM control plane.

  • The cluster is in a different VPC, but the VPCs are interconnected through Cloud Enterprise Network (CEN) or another method.

If the cluster is already VPC-connected, skip to Add a VPC-connected cluster.

If the cluster and the ASM instance are not VPC-connected, establish connectivity first using one of the following methods.

MethodHow it worksWhen to use
CEN (recommended)Connect the VPCs through an Enterprise Edition transit router.Clusters in different VPCs or regions. Production workloads that need low-latency private connectivity.
PrivateLinkCreate a private endpoint connection between the ASM control plane and the cluster VPC.Cross-VPC connectivity with fine-grained access control. No need to modify route tables.
InternetAssociate an Elastic IP Address (EIP) with the ASM control plane and enable Internet access on the ACK cluster.Testing or development environments where private connectivity is not required.

Connect VPCs through CEN

Connect the VPCs where the cluster and the ASM instance reside through an Enterprise Edition transit router. See Use an Enterprise Edition transit router to establish and secure network communication. For a multi-cluster setup across regions, see Implement cross-region disaster recovery and load balancing by using multiple clusters.

After the VPCs are connected, follow the steps in Add a VPC-connected cluster.

Connect VPCs through PrivateLink

Create a private endpoint connection between the ASM control plane and the data-plane cluster. See Use PrivateLink to manage network connectivity between a control plane and a data-plane cluster across VPCs.

Connect over the Internet

  1. Enable Internet access for the ACK cluster.

  2. Associate an EIP with the ASM control plane. See Associate an EIP with or disassociate an EIP from the control plane of an ASM instance.

After connectivity is established, follow the steps in Add a VPC-connected cluster.

Add a VPC-connected cluster

  1. Log on to the ASM console.

  2. In the left-side navigation pane, choose Service Mesh > Mesh Management.

  3. On the Mesh Management page, click the name of the target ASM instance.

  4. In the left-side navigation pane, choose Cluster & Workload Management > Kubernetes Clusters.

  5. Click Add.

  6. On the Add Kubernetes Cluster page, select the cluster to add and click OK.

    Note

    To show only clusters in the same VPC as the ASM instance, select Filter out Kubernetes clusters that are in the same VPC as the ASM instance.

  7. In the Note message, click OK.

Verify the result

  1. After you add the cluster, go to the ASM Instance > Base Information page. The Status changes to Updating.

  2. Wait a moment, then click Refresh in the upper-right corner. The wait time varies depending on the number of clusters being added.

  3. Confirm that the Status changes to Running. The cluster is now part of the mesh.

To view details about the added cluster, go to the Kubernetes Clusters page.

Remove a cluster from an ASM instance

Important

After you remove a cluster, ASM no longer manages services in that cluster. Existing mesh configurations for the cluster stop working immediately.

  1. In the left-side navigation pane, choose Cluster & Workload Management > Kubernetes Clusters.

  2. Select the cluster to remove and click Remove.

  3. In the Submit dialog box, click OK.

What to do next

API reference

To add a cluster programmatically, call the AddClusterIntoServiceMesh API operation.