Workloads
List all workloads in a specified cluster
Changed onget/clusters/{cluster_uid}/workloads
Request
- Base URLhttps://api.app.perfectscale.io/public/v1
- URLhttps://api.app.perfectscale.io/public/v1/clusters/{cluster_uid}/workloads
- AuthHTTP bearer
Path parameters
cluster_uidstring required
The unique identifier for the cluster
Response
A list of workloads
Example response
{
"meta": {
"count": 10
},
"data": [
{
"id": "examplenamespace-deployment-example-test-workload",
"name": "example-test-workload",
"type": "Deployment",
"namespace": "examplenamespace",
"firstSeen": "2023-04-08T16:51:08Z",
"lastSeen": "2023-10-22T15:23:22.9Z",
"runningMinutes": 40265,
"replicasCounts": {
"maxCount": 3,
"avgCount": 2
},
"resilienceLevel": "medium",
"costAnalysis": {
"past30Days": {
"totalCost": 1.2111549136128001,
"wastedCost": 0.370918634267412
},
"costIncrease": 0.370918634267412
},
"indicators": [
{
"name": "OverProvisionedMemRequest",
"type": "waste",
"severityLevel": 1
}
]
}
]
}Changes
- info
endpoint added
- info