The multi-cluster Services (MCS) feature allows you to access Services across Kubernetes clusters without the need to create load balancers. This topic describes how to use the MCS feature in the Distributed Cloud Container Platform for Kubernetes (ACK One) console.
The MCS feature allows you to access Services across ACK clusters. The following figure shows the architecture of the MCS feature.
The administrator creates application-related resources, such as namespaces, Deployments, and Services, on the master instance through Connection 0, and creates application propagation policies to distribute the resources to ACK Cluster 1 through Connection 1.
The administrator creates a ServiceExport and a ServiceImport on the master instance through Connection 0, and creates application propagation policies to distribute the ServiceExport to ACK Cluster 1 and the ServiceImport to ACK Cluster 2.
The client pod in ACK Cluster 2 can access Service 1 in ACK Cluster 1.Note
In the preceding Step 1 and Step 2, a master instance is used to distribute namespaces, Deployments, Services, a ServiceExport, and a ServiceImport to ACK Cluster 1 and ACK Cluster 2. You can also directly create these resources in ACK Cluster 1 and ACK Cluster 2 for cross-cluster Service access.
Create a multi-cluster Service
Log on to the ACK One console. In the left-side navigation pane, choose .
On the MCS page, click Create Multi-cluster Service.
In the Create Multi-cluster Service panel, configure the Service Provider Cluster and Namespace parameters, and select a Service in the Available Services section. Select a cluster from the Service Consumer Cluster drop-down list. Then, click OK.
On the MCS page, you can view information about the Service that you selected.
Delete a multi-cluster Service
On the MCS page, find the Service that you want to delete and click Delete in the Actions column.