You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Kinga Marton (Jira)" <ji...@apache.org> on 2020/09/29 10:23:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17203843#comment-17203843 ]
Kinga Marton commented on YUNIKORN-324:
---------------------------------------
[~Huang Ting Yao] can you please check if we can add the new endpoint according to the new design of the API: [https://docs.google.com/document/d/1KgoGqmNGR7TK3yBeqmefiFso2_lQujA_TzlsU0SsG1o/edit?usp=sharing]
> 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
>
> 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-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org