You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2023/08/09 09:55:00 UTC
[jira] [Commented] (YUNIKORN-1908) Support GPU in placeholders
[ https://issues.apache.org/jira/browse/YUNIKORN-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17752357#comment-17752357 ]
Wilfred Spiegelenburg commented on YUNIKORN-1908:
-------------------------------------------------
Need a follow up Jira to make sure we can tests this in the e2e tests.
> Support GPU in placeholders
> ---------------------------
>
> Key: YUNIKORN-1908
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1908
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: shim - kubernetes
> Reporter: Wilfred Spiegelenburg
> Assignee: Wilfred Spiegelenburg
> Priority: Critical
> Labels: pull-request-available
>
> 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:
> {code:java}
> 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"} {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org