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

Yu-Lin Chen updated YUNIKORN-2257:
----------------------------------
    Description: 
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)

  was:
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",
    "utilizationList": []*dao.NodesUtilDAOInfo
  },
  {
    "clusterId": "mycluster",
    "partition": "other-partition",
    "utilizationList": []*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)


> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to