This guide explains how to manage cluster associations for a project. You can add clusters to allocate their resources to the project, or remove clusters to reclaim the allocated resources.
You can add clusters to a project to allocate their resources, or remove clusters to reclaim the allocated resources. This functionality is useful in the following scenarios:
Add a cluster to a project and set its resource quota.
In the Project Management view, click on the project name where you want to add the cluster.
In the left navigation bar, click Details.
Click Actions > Add Cluster in the upper right corner.
Select the cluster and set the resource quota to be allocated to the current project. The following resources can be configured:
GPU resource quota can only be configured when GPU plugins are deployed in the cluster.
When GPU resources are GPU-Manager or MPS GPU, vMemory quota can also be configured.
GPU Units: 100 units of virtual cores are equivalent to 1 physical core (1 pGPU = 1 core = 100 GPU-Manager core = 100 MPS core), and pGPU units can only be allocated in whole numbers. GPU-Manager 1 unit of memory is equal to 256 Mi, MPS GPU 1 unit of memory is equal to 1 Gi, and 1024 Mi = 1 Gi.
If no quota is set for a certain type of resource, it defaults to Unlimited. This means that the project can use the available resources of the corresponding type in the cluster as needed, without a maximum limit.
The value of the project quota set should be within the quota range displayed on the page. Under each resource quota input box, the allocated quota and total amount of that resource will be displayed for reference.
Remove a cluster associated with a project.
After removing a cluster, the project cannot use the business resources under the removed cluster.
When the cluster to be removed is abnormal, the resources under the abnormal cluster cannot be cleaned up. It is recommended to fix the cluster before removing it.
In the Project Management view, click on the project name where you want to remove the cluster.
In the left navigation bar, click Details.
Click Actions > Remove Cluster in the upper right corner.
In the pop-up Remove Cluster dialog box, enter the name of the cluster to be removed, and then click the Remove button to successfully remove the cluster.