Manage project association clusters
By adding clusters to a project, resources in the cluster can be allocated to the project. Removing a cluster associated with a project will reclaim the resources allocated to the project from the cluster.
For example, when the resources required for business operations in a project are insufficient, or when a newly created/added cluster needs to be allocated to an existing project, the cluster resources can be allocated to the project by adding the cluster to the project. When the resources in a cluster are insufficient to be allocated to multiple projects, or when a specific project is the only one allowed to use a cluster, the cluster can be removed to reclaim the resources allocated to the project.
Add a cluster
Add a cluster that needs to be associated with a project and set its resource quota in the project.
Procedure
-
In the Project Management view, click the Project name to which the cluster is to be added.
-
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.
Includes CPU (cores), memory (Gi), storage (Gi), PVC count (number), Pods (number), vGPU (virtual GPU)/MPS/pGPU (physical GPU, cores), and video memory quota.Note:
-
GPU resource quota can only be configured when GPU plugin 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.
-
-
Click Add.
Remove a cluster
Remove a cluster associated with a project.
Caution:
-
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.
Procedure
-
In the Project Management view, click the Project name of the cluster to be removed.
-
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.