You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Kinga Marton (Jira)" <ji...@apache.org> on 2020/10/05 12:54:00 UTC

[jira] [Resolved] (YUNIKORN-324) Add rest API to retrieve cluster resource utilization

     [ https://issues.apache.org/jira/browse/YUNIKORN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kinga Marton resolved YUNIKORN-324.
-----------------------------------
    Fix Version/s: 0.10
       Resolution: Fixed

Thank you [~Huang Ting Yao] for working on this. Merged your PR.

> 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
>            Assignee: Ting Yao,Huang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10
>
>
> 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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org