Get cluster namespace StatefulSets list
Get the list of StatefulSets in the specified cluster and namespace.
Path parameters
clusterIdstringRequired
namespaceNamestringRequired
Responses
200
OK
*/*
get
GET /v1/clusters/{clusterId}/namespaces/{namespaceName}/statefulsets HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"creationTimestamp": "2023-04-29 05:54:54",
"desiredPodCnt": 1,
"images": [
"101.55.69.30/library/api-cmdb:4.7.4-release.20230413"
],
"labels": {
"app.kubernetes.io/instance": "cocktail",
"app.kubernetes.io/managed-by": "Helm",
"app.kubernetes.io/name": "api-cmdb"
},
"name": "cocktail-api-cmdb",
"namespace": "cocktail-system",
"readyPodCnt": 1
}
]
Was this helpful?