Last updated 9 months ago
Get the current CPU (cores)/Memory (bytes) requested, limited, and used for pods created by the workload.
클러스터 정보
OK
const response = await fetch('/v1/monitoring-workloads/metric/pod-resource/result/current', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "cluster": [ { "namespace": [ { "workload": [ { "pod": [ {} ] } ] } ] } ] }