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 is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
labels
object
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
{
"clusters": [
{
"metadata": {
"kind": "spectrocluster",
"name": "string",
"uid": "string"
},
"statefulSets": [
{
"metadata": {
"creationTimestamp": "2024-07-03T13:23:53.223Z",
"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"
}
}