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: [email protected]
For additional commands, e-mail: [email protected]