[ 
https://issues.apache.org/jira/browse/YUNIKORN-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17208325#comment-17208325
 ] 

Weiwei Yang commented on YUNIKORN-324:
--------------------------------------

hi [~Huang Ting Yao] one last thing for this PR, could you please save a sample 
output of this REST API and upload to YUNIKORN-323? So [~akhilpb] can use the 
output to work on the front-end changes. Thank you.

> 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: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to