[ https://issues.apache.org/jira/browse/YUNIKORN-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086079#comment-17086079 ]
Weiwei Yang commented on YUNIKORN-93: ------------------------------------- Hi [~kmarton] This is a good point. Currently, we are thinking 0 as infinite as that is the default value for the Quantity(int64). What we can do, probably, we should disallow users to set 0 (or negative value) to queue capacity, which doesn't make sense at all. When people do not set anything for queue capacity, our backend is still having 0 value, but frontend we can display it as "N/A". Under such circurmantences, we don't calculate the usedCapacityPercentage. cc [~wilfreds], he may have more ideas. > Provide queue absolute used capacity in rest API > ------------------------------------------------ > > 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