You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Rajesh Kanhaiya Lal (Jira)" <ji...@apache.org> on 2023/09/05 07:03:00 UTC

[jira] [Created] (YUNIKORN-1959) [Yunikorn] Config validation is not failing for '0' max-application and max-resources in Limit Object

Rajesh Kanhaiya Lal created YUNIKORN-1959:
---------------------------------------------

             Summary: [Yunikorn] Config validation is not failing for '0' max-application and max-resources in Limit Object
                 Key: YUNIKORN-1959
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1959
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: shim - kubernetes
            Reporter: Rajesh Kanhaiya Lal
         Attachments: yunikorn-configs.yaml

Hi Team,

I am able to set 0 max-application and max-resources in the limit object. The Config validation is passing without any issues.

PFA For Config

Also in case of 0 max-application or max-resources the quota enofrcement chekcs are not honoring.

Tracking API Response
{code:java}
[{"groupName":"devopsdddB","applications":["app12"],"queues":{"queuePath":"root","resourceUsage":{"Resources":{"memory":300000000,"pods":1,"vcore":300}},"runningApplications":["app12"],"maxResources":{"Resources":{}},"children":[{"queuePath":"root.default","resourceUsage":{"Resources":{"memory":300000000,"pods":1,"vcore":300}},"runningApplications":["app12"],"maxResources":{"Resources":{"memory":0}},"maxApplications":2}]}},{"groupName":"devops","queues":{"queuePath":"root","resourceUsage":{"Resources":{}},"maxResources":{"Resources":{}},"children":[{"queuePath":"root.default","resourceUsage":{"Resources":{}},"maxResources":{"Resources":{"memory":0}},"maxApplications":2}]}}] {code}
Please let me know if something is required.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org