You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/01/06 19:03:00 UTC

[jira] [Resolved] (YUNIKORN-2257) Add rest API to retrieve node utilization for multiple resource types

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

Chia-Ping Tsai resolved YUNIKORN-2257.
--------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Fixed

> Add rest API to retrieve node utilization for multiple resource types
> ---------------------------------------------------------------------
>
>                 Key: YUNIKORN-2257
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2257
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>          Components: core - common
>            Reporter: Yu-Lin Chen
>            Assignee: Yu-Lin Chen
>            Priority: Major
>              Labels: pull-request-available, release-notes
>             Fix For: 1.5.0
>
>
> The current 'Nodes Resource Utilization' bar chart in the UI only shows domaint resource. To allow user to identify the top overloaded resources type. We need a new api that returns node utlization for multiple partititions and multiple resource types.
> The previous API introduced in YUNIKORN-2087 will be marked as deprecated, and we will calculate domaint reosurces from the new api's result. 
> {code:java}
> [
>   {
>     "clusterId": "mycluster",
>     "partition": "default",
>     "utilizations": []*dao.NodesUtilDAOInfo
>   },
>   {
>     "clusterId": "mycluster",
>     "partition": "other-partition",
>     "utilizations": []*dao.NodesUtilDAOInfo
>   }
> ] {code}
> {*}API to be d{*}{*}eprecated :{*}
>  * /ws/v1/scheduler/node-utilization
> *New API:* (Return all partition and all type of resources)
>  * /ws/v1/scheduler/node-utilizations (plural form)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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