[
https://issues.apache.org/jira/browse/YUNIKORN-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834115#comment-17834115
]
Wilfred Spiegelenburg commented on YUNIKORN-2534:
-------------------------------------------------
Documented in this section:
[https://yunikorn.apache.org/docs/user_guide/queue_config#queues]
To provide full detail and the reasoning behind it. The resource check is
different. I can specify a quota like this:
{code:java}
vcores: 1000
memory: 1T
nvidia.com/gpu: 0{code}
That is a valid quota and we apply that. It is a different quota than this one:
{code:java}
vcores: 1000
memory: 1T{code}
In the first quota you are not allowed to use the resource {{nvidia.com/gpu}}
in the second quota there is no limit on how many GPUs you can use.
What is not allowed in quotas is something that only specifies zeros:
{code:java}
vcores: 0{code}
or
{code:java}
vcores: 0
memory: 0
nvidia.com/gpu: 0{code}
This is the category that the max applications falls in.
> [Yunikorn] Quota enforcement checks are failing when we have max-application
> set to 0
> -------------------------------------------------------------------------------------
>
> Key: YUNIKORN-2534
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2534
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: shim - kubernetes
> Reporter: Rajesh Kanhaiya Lal
> Priority: Major
> Attachments: yunikorn-configs-fresh.yaml
>
>
> The Max-application checks are not working when we are setting
> max-application to 0 in the yunikorn-config file.
> The Config validation is also ignored in case of max-application is set to 0,
> for example, the child max-application should be less or equal to the parent
> queue is also not working when we have the max-application set to 0.
> Attached Yunikorn Config file
> User and Group tracking API also does not log max-application in the response.
>
> {code:java}
> curl --location 'http://127.0.0.1:9080/ws/v1/partition/default/usage/users'
> [
> {
> "userName": "nobody",
> "groups": {
> "ts333w3": "*",
> "ts433": "*",
> "ts544": "*",
> "ts633": "*"
> },
> "queues": {
> "queuePath": "root",
> "resourceUsage": {
> "Resources": {
> "memory": 300000000,
> "pods": 3,
> "vcore": 300
> }
> },
> "runningApplications": [
> "ts333w3",
> "ts433",
> "ts544"
> ],
> "children": [
> {
> "queuePath": "root.default",
> "resourceUsage": {
> "Resources": {
> "memory": 300000000,
> "pods": 3,
> "vcore": 300
> }
> },
> "runningApplications": [
> "ts333w3",
> "ts433",
> "ts544"
> ]
> }
> ]
> }
> }
> ] {code}
> Could You please take a look ?
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]