Was this helpful?
Get the current total requested, limit, and usage of CPU (Core) and Memory (Byte) for the pods deployed in the namespace.
/v1/monitoring-ns/metric/total-resource/result/current
클러스터 정보
curl -L \ --request POST \ --url '/v1/monitoring-ns/metric/total-resource/result/current' \ --header 'Content-Type: application/json' \ --data '{"clusters":[{"name":"thingcluster"}]}'
{ "thingcluster": { "limit_cpu": 57900, "limit_memory": 87966199808, "request_cpu": 26665, "request_memory": 37130840064, "usage_cpu": 2439, "usage_memory": 51958136832, "cocktail-system": { "limit_cpu": 0, "limit_memory": 4760535040, "request_cpu": 4215, "request_memory": 1293547520, "usage_cpu": 1298, "usage_memory": 8463978496 } } }