[ 
https://issues.apache.org/jira/browse/YUNIKORN-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17093481#comment-17093481
 ] 

Kinga Marton commented on YUNIKORN-93:
--------------------------------------

Right now there is some queue label colouring performed based on the actual 
absolute used resource: 
[https://github.com/apache/incubator-yunikorn-web/blob/master/src/app/components/queue-rack/queue-rack.component.ts#L63-L73].

In my opinion we should calculate absolute usage for each resource type, and 
not one global value. And colour the queue labels according the max value from 
the absolute usage.

For example if we will have the following usage: [memory:75%, vcores: 20%], 
decide on the colour based on the max value (what in our case is 75%).

cc [~akhilpb], since there are some UI related questions as well.

> Queue maximum capacity cleanup
> ------------------------------
>
>                 Key: YUNIKORN-93
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-93
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>            Reporter: Kinga Marton
>            Assignee: Kinga Marton
>            Priority: Minor
>
> Right now the absolute used capacity is hardcoded to 20%.
> The usage bar is rendered by this value, but currently, it is hardcoded.
> Note, both capacity/max capacity could be 0.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to