Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
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.
[ { "clusterId": "mycluster", "partition": "default", "utilizations": []*dao.NodesUtilDAOInfo }, { "clusterId": "mycluster", "partition": "other-partition", "utilizations": []*dao.NodesUtilDAOInfo } ]
API to be deprecated :
- /ws/v1/scheduler/node-utilization
New API: (Return all partition and all type of resources)
- /ws/v1/scheduler/node-utilizations (plural form)