Retrieve a list of clusters with details.
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
[- {
- "uuid": "A0EEBC99-9C0B-4EF8-BB6D-6BB9BD380A11",
- "name": "example",
- "tenantId": 1001,
- "domain": "my.company.com",
- "status": { },
- "createdAt": "2020-01-01T00:00:00Z",
- "updatedAt": "2020-01-02T00:00:00Z",
- "lastLiveness": "2020-01-02T00:00:00Z",
- "version": "2.15.0"
}
]
Use to create a Kubernetes cluster.
Created
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "name": "string",
- "domain": "string",
- "version": "string"
}
{- "uuid": "A0EEBC99-9C0B-4EF8-BB6D-6BB9BD380A11",
- "name": "example",
- "tenantId": 1001,
- "domain": "my.company.com",
- "status": { },
- "createdAt": "2020-01-01T00:00:00Z",
- "updatedAt": "2020-01-02T00:00:00Z",
- "lastLiveness": "2020-01-02T00:00:00Z",
- "version": "2.15.0"
}
Retrieve cluster details by Universally Unique Identifier (UUID).
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "uuid": "A0EEBC99-9C0B-4EF8-BB6D-6BB9BD380A11",
- "name": "example",
- "tenantId": 1001,
- "domain": "my.company.com",
- "status": { },
- "createdAt": "2020-01-01T00:00:00Z",
- "updatedAt": "2020-01-02T00:00:00Z",
- "lastLiveness": "2020-01-02T00:00:00Z",
- "version": "2.15.0"
}
Use to delete a cluster by Universally Unique Identifier (UUID).
No Content.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "code": 401,
- "message": "Issuer is not familiar."
}
Use to update the details of a Kubernetes cluster by Universally Unique Identifier (UUID).
No Content.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "name": "string"
}
{- "code": 400,
- "message": "Required parameter is missing"
}
Retrieve the metrics data for a Kubernetes cluster by Universally Unique Identifier (UUID).
Executed successfully.
Partial success.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "measurements": [
- {
- "type": "ALLOCATED_GPU",
- "labels": "{'gpu': '3'}",
- "values": [
- {
- "value": "85",
- "timestamp": "2023-06-06 12:09:18.211"
}
]
}
]
}
Use to retrieve installation instruction for a cluster by Universally Unique Identifier (UUID). Supports clusters version 2.15 or above.
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "installationStr": "helm update --update repo/runai-cluster -n runai --set cluster.url=test_cluster",
- "repositoryName": "runai",
- "clientSecret": "ABC333DDD"
}
Retrieve the installation values file of a cluster by Retrieve the installation values file of a given cluster by ID. Supports clusters 2.13 and lower.
OK
Unauthorized
The specified resource was not found
"string"
Get current cluster metrics. If time range query parameters supplied, then historical data will be returned as well. Deprecated - please use api/v1/clusters/{clusterUuid}/metrics
A Clusters metrics
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "metadata": {
- "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"
}
], - "projectResources": [
- {
- "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
}, - "projectName": "project-a",
- "departmentName": "default",
- "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"
}
]
}
}