Get the number of ready pods in the namespace

Get the number of ready pods in the namespace

get

Get the number of pods deployed in the namespace that are in the Ready state.

Query parameters
clusterIdsstringRequired
namespacesstringOptional
Responses
200
OK
*/*
get
GET /v1/monitoring-ns/metric/pod-ready/result/current?clusterIds=text HTTP/1.1
Host: 
Accept: */*
200

OK

[
  {
    "metrics": {
      "ready": "78"
    },
    "timestamp": 1687851000,
    "value": 78
  }
]

Was this helpful?