Get the number of pods by status in namespace
Was this helpful?
Was this helpful?
Was this helpful?
POST /v1/monitoring-ns/metric/pod-status/result/current HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 80
{
"clusters": [
{
"name": "thingcluster",
"namespaces": [
{
"name": "cocktail-system"
}
]
}
]
}{
"thingcluster": {
"cocktail-system": {
"pod_run": 39,
"pod_total": 39,
"pvc_bound": 0,
"pvc_lost": 0,
"pvc_pending": 0
}
}
}