Weiwei Yang created YUNIKORN-324:
------------------------------------

             Summary: Add rest API to retrieve cluster resource utilization
                 Key: YUNIKORN-324
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-324
             Project: Apache YuniKorn
          Issue Type: Sub-task
          Components: webapp
            Reporter: Weiwei Yang


URL: ws/v1/clusters/utilization

this should something like the following (per-partition):
{code}
[
{
 partition: default,
 utilization: [ {
    type: "cpu",
    total: 100,
    used: 50,
    usage: 50%
  },
  {
     type: "memory",
     total: 1000,
     used: 500,
     usage: 50%
  }
 ]
}, 
...
]
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to