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

Support GPU in placeholders

    XMLWordPrintableJSON

Details

    Description

      When we create a placeholder pod we read the list of resources defined in the task group and add that as a list of resource Requests to the new pod.

      We do not check the content and just use the key as the resource type. This goes horribly wrong for taskgroups that contain extended resources like GPU requests.

      We need to change the placeholder creation to add a limit for all extended resources to prevent this error message: 

      2023-08-08T22:53:34.863Z        ERROR   cache/placeholder_manager.go:99 failed to create placeholder pod        {"error": "Pod \"tg-test-yunikorn-0\" is invalid: spec.containers[0].resources.limits: Required value: Limit must be set for non overcommitable resources"} 

      Attachments

        Issue Links

          Activity

            People

              wilfreds Wilfred Spiegelenburg
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: