[ 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} [{ "partition": "default", "nodeUtilizationList" : []*dao.NodesUtilDAOInfo }, { "partition": "other-partition", "nodeUtilizationList" : []*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. ([]*dao.NodesUtilDAOInf) {*}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} > [{ > "partition": "default", > "nodeUtilizationList" : []*dao.NodesUtilDAOInfo > }, > { > "partition": "other-partition", > "nodeUtilizationList" : []*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-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org