Add Member Clusters

This section explains how to add member clusters.

Depending on your network environment, the host cluster and member clusters can be connected in the following ways:

  • Direct Connection: If the host cluster can access the Kubernetes API service of the member cluster, you can add the kubeconfig information of the member cluster on the host cluster to directly connect the host cluster and the member cluster.

  • Agent Connection: If the host cluster cannot access the Kubernetes API service of the member cluster, you can set up the member cluster to connect to the proxy service “tower” exposed by the host cluster, enabling the connection between the host cluster and the member cluster via tower.

Note

To use a agent connection, the KubeSphere Multi-Cluster Agent Connection extension needs to be installed and enabled on the KubeSphere platform.

Whether using a direct connection or a agent connection, at least one of the host cluster and the member cluster must be able to access the services exposed by the other side.

Add Member Cluster via Direct Connection

Learn how to add member clusters via direct connection.