Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1959

[Yunikorn] Config validation is not failing for '0' max-application and max-resources in Limit Object

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • shim - kubernetes
    • None

    Description

      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

      [{"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}]}}] 

      Please let me know if something is required.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            yangpoan PoAn Yang Assign to me
            rrajesh Rajesh Kanhaiya Lal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment