You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Weiwei Yang (Jira)" <ji...@apache.org> on 2020/07/28 16:46:00 UTC

[jira] [Created] (YUNIKORN-326) Add rest API to retrieve cluster nodes resource utilization

Weiwei Yang created YUNIKORN-326:
------------------------------------

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


URL: ws/v1/nodes/utilization

returns the nodes resource utilization summary, a distribution based on usage:
{code}
{
  type: "CPU",
  utilization: [ {
      bucketID: "1",
      bucketName: "0-10%",
      numOfNodes: 5,
      nodeNames: [...]
    }, {
      bucketID: "2",
      bucketName: "10-20%",
      numOfNodes: 5,
      nodeNames: [...]
    },
    ...
  ]
},
{
  type: "Memory",
  utilization: [ {
      bucketID: "1",
      bucketName: "0-10%",
      numOfNodes: 5,
      nodeNames: [...]
    }, {
      bucketID: "2",
      bucketName: "10-20%",
      numOfNodes: 5,
      nodeNames: [...]
    },
    ...
  ]
},
{code}





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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org