Get the workload list for that cluster.
OK
1
Total number of computes
"2023-04-29 05:54:54"
""
"cocktail-system"
QoS
"Burstable"
stateCode(RUNNING, STOPPED)
"RUNNING"
11
"cocktail-api-cmdb"
"STATEFUL_SET_SERVER"
const response = await fetch('/v1/clusters/{clusterId}/workloads', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "activeCount": 1, "computeTotal": 1, "creationTimestamp": "2023-04-29 05:54:54", "description": "", "isK8sResourceExist": false, "namespaceName": "cocktail-system", "qos": "Burstable", "stateCode": "RUNNING", "workloadGroupSeq": 11, "workloadName": "cocktail-api-cmdb", "workloadType": "STATEFUL_SET_SERVER" } ]