This section describes how to add clusters to a federated project.

A federated project is a project created based on multiple clusters. Resources in a federated project can run on different clusters.

Note

For a federated project to run on multiple clusters, the workspace to which the federated project belongs must be authorized to access multiple clusters. For more information, see Create a Workspace.

Prerequisites

  • The Application Management for Cluster Federation extension must be installed and enabled on the KubeSphere platform.

  • You need to join a workspace and have the Federated Project Management permission in the workspace. For more information, see Workspace Members and Workspace Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has Federated Project Management permissions and enter your workspace.

  2. Click Federated Project in the left navigation pane.

  3. On the right side of the project you want to operate, click more, and then select Add Cluster from the drop-down list.

  4. In the Add Cluster dialog box, select clusters from the drop-down list, and then click OK.

    • Click Add to add multiple clusters.

    • On the right side of an added cluster, click trash-light to cancel adding that cluster.