Get the list of pods in namespace
Get a list of information, including the creation controller, node, and Pod IP, for the pods deployed in the namespace.
Query parameters
clusterIdsstringRequired
namespacesstringOptional
Responses
200
OK
*/*
get
GET /v1/monitoring-ns/metric/pod-list/result/current?clusterIds=text HTTP/1.1
Host:
Accept: */*
200
OK
[
{
"metrics": {
"cluster": "thingcluster",
"creator": "nfd-worker",
"creator-kind": "DaemonSet",
"end-point": "http",
"host_ip": "0.0.0.0",
"instance": "0.0.0.0:8080",
"namespace": "cocktail-system",
"node": "apps-gpu-v100",
"pod": "cocktail-api-cmdb-0",
"pod-ip": "0.0.0.0"
},
"timestamp": 1687848360,
"value": 1
}
]
PreviousGet the trend of deployment creation count in namespaceNextGet the trend of total number of pods in namespace
Was this helpful?