Rajesh Kanhaiya Lal created YUNIKORN-2534:
---------------------------------------------

             Summary: [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
            Assignee: Manikandan R
         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]

Reply via email to