Retrieves specified cluster workload statefulsets
POST/v1/dashboard/spectroclusters/:uid/workloads/statefulset
Retrieves specified cluster workload statefulsets
Request
Path Parameters
uid stringrequired
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
filter
object
Cluster workloads filter
namespacesstring[]
Responses
- 200
An array of cluster workload statefulsets
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
statefulSets
object[]
metadata
object
Cluster workload metadata
creationTimestampdate-time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
entity
object
Cluster workload ref
kindstring
namestring
uidstring
labels
object
property name*string
namespacestring
status
object
Cluster workload statefulset status
replicas
object
Cluster workload replica status
availableint32
readyint32
totalint32
updatedint32
{
"statefulSets": [
{
"metadata": {
"creationTimestamp": "2024-04-16T17:49:00.994Z",
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"labels": {},
"namespace": "string"
},
"status": {
"replicas": {
"available": 0,
"ready": 0,
"total": 0,
"updated": 0
}
}
}
]
}
Loading...