Projects implement resource allocation policies and create segregation between different initiatives. It can represent a team, an individual, or an initiative that shares resources or has a specific resources budget (quota). See Projects for more information.
Create a project
Project to create.
Created
Bad request.
Unauthorized
Forbidden
unexpected error
{- "schedulingRules": {
- "interactiveJobTimeLimitSeconds": 100,
- "interactiveJobMaxIdleDurationSeconds": 100,
- "interactiveJobPreemptIdleDurationSeconds": 100,
- "trainingJobMaxIdleDurationSeconds": 100,
- "trainingJobTimeLimitSeconds": 100
}, - "defaultNodePools": [
- "string"
], - "nodeTypes": {
- "training": [
- "string"
], - "workspace": [
- "string"
]
}, - "resources": [
- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
], - "name": "organization1",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "requestedNamespace": "runai-proj1",
- "parentId": "53a9228e-a722-420d-a102-9dc90da2efca"
}
{- "schedulingRules": {
- "interactiveJobTimeLimitSeconds": 100,
- "interactiveJobMaxIdleDurationSeconds": 100,
- "interactiveJobPreemptIdleDurationSeconds": 100,
- "trainingJobMaxIdleDurationSeconds": 100,
- "trainingJobTimeLimitSeconds": 100
}, - "defaultNodePools": [
- "string"
], - "nodeTypes": {
- "training": [
- "string"
], - "workspace": [
- "string"
]
}, - "resources": [
- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
], - "name": "organization1",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "id": 33,
- "parentId": "53a9228e-a722-420d-a102-9dc90da2efca",
- "requestedNamespace": "runai-proj1",
- "status": {
- "namespace": "runai-proj1",
- "phase": "Ready",
- "phaseMessage": "Project is ready",
- "nodePoolQuotaStatuses": [
- {
- "allocated": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "allocatedNonPreemptible": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "requested": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "nodePoolName": "string",
- "nodePoolId": "string"
}
], - "quotaStatus": {
- "allocated": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "allocatedNonPreemptible": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "requested": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}
}, - "additionalStatusData": { }
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedBy": "string",
- "parent": {
- "id": "9f55253e-11ed-47c7-acef-fc4054768dbc",
- "name": "organization1",
- "parent": { }
}
}
List projects
ok
Bad request.
Unauthorized
Forbidden
unexpected error
{- "projects": [
- {
- "schedulingRules": {
- "interactiveJobTimeLimitSeconds": 100,
- "interactiveJobMaxIdleDurationSeconds": 100,
- "interactiveJobPreemptIdleDurationSeconds": 100,
- "trainingJobMaxIdleDurationSeconds": 100,
- "trainingJobTimeLimitSeconds": 100
}, - "defaultNodePools": [
- "string"
], - "nodeTypes": {
- "training": [
- "string"
], - "workspace": [
- "string"
]
}, - "resources": [
- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
], - "name": "organization1",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "id": 33,
- "parentId": "53a9228e-a722-420d-a102-9dc90da2efca",
- "requestedNamespace": "runai-proj1",
- "status": {
- "namespace": "runai-proj1",
- "phase": "Ready",
- "phaseMessage": "Project is ready",
- "nodePoolQuotaStatuses": [
- {
- "allocated": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "allocatedNonPreemptible": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "requested": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "nodePoolName": "string",
- "nodePoolId": "string"
}
], - "quotaStatus": {
- "allocated": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "allocatedNonPreemptible": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "requested": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}
}, - "additionalStatusData": { }
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedBy": "string",
- "parent": {
- "id": "9f55253e-11ed-47c7-acef-fc4054768dbc",
- "name": "organization1",
- "parent": { }
}
}
], - "next": 1
}
Get projects telemetry data by the given query parameters
Project to update.
Updated
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "schedulingRules": {
- "interactiveJobTimeLimitSeconds": 100,
- "interactiveJobMaxIdleDurationSeconds": 100,
- "interactiveJobPreemptIdleDurationSeconds": 100,
- "trainingJobMaxIdleDurationSeconds": 100,
- "trainingJobTimeLimitSeconds": 100
}, - "defaultNodePools": [
- "string"
], - "nodeTypes": {
- "training": [
- "string"
], - "workspace": [
- "string"
]
}, - "resources": [
- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
]
}
{- "schedulingRules": {
- "interactiveJobTimeLimitSeconds": 100,
- "interactiveJobMaxIdleDurationSeconds": 100,
- "interactiveJobPreemptIdleDurationSeconds": 100,
- "trainingJobMaxIdleDurationSeconds": 100,
- "trainingJobTimeLimitSeconds": 100
}, - "defaultNodePools": [
- "string"
], - "nodeTypes": {
- "training": [
- "string"
], - "workspace": [
- "string"
]
}, - "resources": [
- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
], - "name": "organization1",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "id": 33,
- "parentId": "53a9228e-a722-420d-a102-9dc90da2efca",
- "requestedNamespace": "runai-proj1",
- "status": {
- "namespace": "runai-proj1",
- "phase": "Ready",
- "phaseMessage": "Project is ready",
- "nodePoolQuotaStatuses": [
- {
- "allocated": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "allocatedNonPreemptible": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "requested": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "nodePoolName": "string",
- "nodePoolId": "string"
}
], - "quotaStatus": {
- "allocated": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "allocatedNonPreemptible": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "requested": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}
}, - "additionalStatusData": { }
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedBy": "string",
- "parent": {
- "id": "9f55253e-11ed-47c7-acef-fc4054768dbc",
- "name": "organization1",
- "parent": { }
}
}
Get a project by id
ok
Unauthorized
Forbidden
The specified resource was not found
unexpected error
{- "schedulingRules": {
- "interactiveJobTimeLimitSeconds": 100,
- "interactiveJobMaxIdleDurationSeconds": 100,
- "interactiveJobPreemptIdleDurationSeconds": 100,
- "trainingJobMaxIdleDurationSeconds": 100,
- "trainingJobTimeLimitSeconds": 100
}, - "defaultNodePools": [
- "string"
], - "nodeTypes": {
- "training": [
- "string"
], - "workspace": [
- "string"
]
}, - "resources": [
- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
], - "name": "organization1",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "id": 33,
- "parentId": "53a9228e-a722-420d-a102-9dc90da2efca",
- "requestedNamespace": "runai-proj1",
- "status": {
- "namespace": "runai-proj1",
- "phase": "Ready",
- "phaseMessage": "Project is ready",
- "nodePoolQuotaStatuses": [
- {
- "allocated": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "allocatedNonPreemptible": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "requested": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "nodePoolName": "string",
- "nodePoolId": "string"
}
], - "quotaStatus": {
- "allocated": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "allocatedNonPreemptible": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}, - "requested": {
- "gpu": 0,
- "cpu": 1000,
- "memory": 1000
}
}, - "additionalStatusData": { }
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdBy": "string",
- "updatedBy": "string",
- "parent": {
- "id": "9f55253e-11ed-47c7-acef-fc4054768dbc",
- "name": "organization1",
- "parent": { }
}
}
Delete a project
Deleted
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 400,
- "message": "Required parameter is missing"
}
Update projects resources
Project resources to update.
object or null the node pool which the resources refer to | |
required | object GPU number to the project in the node pool |
object or null CPU in Millicores to the project in the node pool | |
object or null Memory to the project in the node pool |
Updated
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
[- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
]
[- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
]
Partial updates to specific items in the list. Should be used for update one or more attributes of an item without modifying the entire resource.
Project resources to patch.
object or null the node pool which the resources refer to | |
required | object GPU number to the project in the node pool |
object or null CPU in Millicores to the project in the node pool | |
object or null Memory to the project in the node pool |
Updated
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
[- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
]
[- {
- "nodePool": {
- "id": 22,
- "name": "default"
}, - "gpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 1000,
- "limit": 0,
- "overQuotaWeight": 2,
- "units": "Mib"
}
}
]
Retrieves data from the metrics database. \n Use in reporting and analysis tools. \n Use a time range to return historical data (optional). If you use a start
date, an end
date is required.
Successfully retrieved metrics for all projects.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "data": [
- {
- "metadata": {
- "projectId": 1,
- "projectName": "project-a",
- "departmentId": 8,
- "departmentName": "default",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "clusterName": "cluster-a"
}, - "current": {
- "resources": [
- {
- "numberOfPendingWorkloads": 1,
- "gpu": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "cpu": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "memory": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "nodepoolName": "nodepoola"
}
]
}, - "timeRange": null
}
], - "timeRange": {
- "resources": [
- {
- "numberOfPendingWorkloads": 1,
- "gpu": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "cpu": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "memory": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "timestamp": "2023-06-06T12:09:18.211Z"
}
]
}
}
Retrieves data from the metrics database. \n Use in reporting and analysis tools. \n Use a time range to return historical data (optional). If you use a start
date, an end
date is required.
Successfully retrieved metrics for the project.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "metadata": {
- "projectId": 1,
- "projectName": "project-a",
- "departmentId": 8,
- "departmentName": "default",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "clusterName": "cluster-a"
}, - "current": {
- "resources": [
- {
- "numberOfPendingWorkloads": 1,
- "gpu": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "cpu": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "memory": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "nodepoolName": "nodepoola"
}
]
}, - "timeRange": {
- "resources": [
- {
- "numberOfPendingWorkloads": 1,
- "gpu": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "cpu": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "memory": {
- "quota": 3,
- "allocated": 2.5,
- "utilization": 0.765
}, - "timestamp": "2023-06-06T12:09:18.211Z"
}
]
}
}
Creates a new project in a specific cluster.
Project created successfully.
Bad Project request.
Project creation failed.
{- "name": "team-a",
- "departmentId": 2,
- "nodePoolsResources": [
- {
- "nodePool": {
- "id": 3,
- "name": "default"
}, - "gpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}
}
], - "namespace": "ns-proj1",
- "deservedGpus": 3,
- "maxAllowedGpus": 5,
- "gpuOverQuotaWeight": 1,
- "defaultNodePools": [
- "default"
], - "interactiveJobTimeLimitSecs": 3600,
- "interactiveJobMaxIdleDurationSecs": 3000,
- "interactivePreemptibleJobMaxIdleDurationSecs": 3000,
- "trainingJobTimeLimitSecs": 3600,
- "trainingJobMaxIdleDurationSecs": 3000,
- "nodeAffinity": {
- "train": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}, - "interactive": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}
}, - "permissions": {
- "users": [
- "string"
], - "groups": [
- "string"
], - "applications": [
- "string"
]
}, - "resources": {
- "id": 0,
- "gpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}
}
}
{- "deservedGpus": 3,
- "maxAllowedGpus": 5,
- "gpuOverQuotaWeight": 1,
- "defaultNodePools": [
- "default"
], - "interactiveJobTimeLimitSecs": 3600,
- "interactiveJobMaxIdleDurationSecs": 3000,
- "interactivePreemptibleJobMaxIdleDurationSecs": 3000,
- "trainingJobTimeLimitSecs": 3600,
- "trainingJobMaxIdleDurationSecs": 3000,
- "nodeAffinity": {
- "train": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}, - "interactive": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}
}, - "permissions": {
- "users": [
- "string"
], - "groups": [
- "string"
], - "applications": [
- "string"
]
}, - "resources": {
- "id": 0,
- "gpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}
}
}
Retrieves a list of all projects and details from a specific cluster. \n Use in reporting and analysis tools.
Successfully retrieved a list of all the projects.
[- {
- "deservedGpus": 3,
- "maxAllowedGpus": 5,
- "gpuOverQuotaWeight": 1,
- "defaultNodePools": [
- "default"
], - "interactiveJobTimeLimitSecs": 3600,
- "interactiveJobMaxIdleDurationSecs": 3000,
- "interactivePreemptibleJobMaxIdleDurationSecs": 3000,
- "trainingJobTimeLimitSecs": 3600,
- "trainingJobMaxIdleDurationSecs": 3000,
- "nodeAffinity": {
- "train": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}, - "interactive": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}
}, - "permissions": {
- "users": [
- "string"
], - "groups": [
- "string"
], - "applications": [
- "string"
]
}, - "resources": {
- "id": 0,
- "gpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}
}
}
]
Updates a project's details in a specific cluster. \n For example, node pool resources, and others.
An updated project details.
Bad project request.
Project not found.
Could not update the project.
{- "deservedGpus": 3,
- "maxAllowedGpus": 5,
- "gpuOverQuotaWeight": 1,
- "defaultNodePools": [
- "default"
], - "interactiveJobTimeLimitSecs": 3600,
- "interactiveJobMaxIdleDurationSecs": 3000,
- "interactivePreemptibleJobMaxIdleDurationSecs": 3000,
- "trainingJobTimeLimitSecs": 3600,
- "trainingJobMaxIdleDurationSecs": 3000,
- "nodeAffinity": {
- "train": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}, - "interactive": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}
}, - "permissions": {
- "users": [
- "string"
], - "groups": [
- "string"
], - "applications": [
- "string"
]
}, - "resources": {
- "id": 0,
- "gpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}
}
}
{- "deservedGpus": 3,
- "maxAllowedGpus": 5,
- "gpuOverQuotaWeight": 1,
- "defaultNodePools": [
- "default"
], - "interactiveJobTimeLimitSecs": 3600,
- "interactiveJobMaxIdleDurationSecs": 3000,
- "interactivePreemptibleJobMaxIdleDurationSecs": 3000,
- "trainingJobTimeLimitSecs": 3600,
- "trainingJobMaxIdleDurationSecs": 3000,
- "nodeAffinity": {
- "train": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}, - "interactive": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}
}, - "permissions": {
- "users": [
- "string"
], - "groups": [
- "string"
], - "applications": [
- "string"
]
}, - "resources": {
- "id": 0,
- "gpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}
}
}
Deletes a project from a specific cluster.
Project deleted successfully.
Project not found.
{- "deservedGpus": 3,
- "maxAllowedGpus": 5,
- "gpuOverQuotaWeight": 1,
- "defaultNodePools": [
- "default"
], - "interactiveJobTimeLimitSecs": 3600,
- "interactiveJobMaxIdleDurationSecs": 3000,
- "interactivePreemptibleJobMaxIdleDurationSecs": 3000,
- "trainingJobTimeLimitSecs": 3600,
- "trainingJobMaxIdleDurationSecs": 3000,
- "nodeAffinity": {
- "train": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}, - "interactive": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}
}, - "permissions": {
- "users": [
- "string"
], - "groups": [
- "string"
], - "applications": [
- "string"
]
}, - "resources": {
- "id": 0,
- "gpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}
}
}
Retrieves the details of a specific project from a specific cluster. \n Use for project analysis. \n Requires view
permissions to the queried project.
Successfully retrieved project details.
Project not found.
{- "deservedGpus": 3,
- "maxAllowedGpus": 5,
- "gpuOverQuotaWeight": 1,
- "defaultNodePools": [
- "default"
], - "interactiveJobTimeLimitSecs": 3600,
- "interactiveJobMaxIdleDurationSecs": 3000,
- "interactivePreemptibleJobMaxIdleDurationSecs": 3000,
- "trainingJobTimeLimitSecs": 3600,
- "trainingJobMaxIdleDurationSecs": 3000,
- "nodeAffinity": {
- "train": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}, - "interactive": {
- "affinityType": "no_limit",
- "selectedTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}
}, - "permissions": {
- "users": [
- "string"
], - "groups": [
- "string"
], - "applications": [
- "string"
]
}, - "resources": {
- "id": 0,
- "gpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "cpu": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}, - "memory": {
- "deserved": 0,
- "maxAllowed": 1000,
- "overQuotaWeight": 2
}
}
}