Retrieves specified workspace clusters workload statefulsets
POST/v1/dashboard/workspaces/:uid/spectroclusters/workloads/statefulset
Retrieves specified workspace clusters workload statefulsets
Request
Path Parameters
Header Parameters
Scope the request to the specified project uid
- application/json
Body
filter
object
Workspace workloads filter
Responses
- 200
An array of clusters workload statefulsets
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
clusters
object[]
metadata
object
Object for which the resource is related
Possible values: [spectrocluster
, machine
, cloudconfig
, clusterprofile
, pack
, appprofile
, appdeployment
, edgehost
]
statefulSets
object[]
metadata
object
Cluster workload metadata
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
labels
object
status
object
Cluster workload statefulset status
replicas
object
Cluster workload replica status
metadata
object
ObjectMeta input entity for object creation
annotations
object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set.
labels
object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
Name of the resource.
{
"clusters": [
{
"metadata": {
"kind": "spectrocluster",
"name": "string",
"uid": "string"
},
"statefulSets": [
{
"metadata": {
"creationTimestamp": "2024-04-16T17:49:01.028Z",
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"labels": {},
"namespace": "string"
},
"status": {
"replicas": {
"available": 0,
"ready": 0,
"total": 0,
"updated": 0
}
}
}
]
}
],
"metadata": {
"annotations": {},
"labels": {},
"name": "string"
}
}