You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Weiwei Yang (Jira)" <ji...@apache.org> on 2020/11/18 05:39:00 UTC
[jira] [Updated] (YUNIKORN-458) Retrieve app taskGroups from pod
spec
[ https://issues.apache.org/jira/browse/YUNIKORN-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weiwei Yang updated YUNIKORN-458:
---------------------------------
Description:
YUNIKORN-439 has added the utility function to retrieve taskGroups from pod annotation.
This task needs to leverage that function to get taskGroups while creating {{pkg/cache/application}} object. For normal apps, we directly retrieve the taskGroups info from the *first pod* seen by the scheduler.
Similarly, we need to parse the `taskGroupName` for each task (from the pod), and add that to {{pkg/cache/task}} object.
There are a few assumptions
# If there are multiple pods in one app. The 1st pod must have the taskGroups defined, or all the pods should have same taskGroups definition.
# If there are multiple taskGroups defined, different pods that belong to different groups need to set “yunikorn.apache.org/taskGroupName” accordingly.
was:
YUNIKORN-439 has added the utility function to retrieve taskGroups from pod annotation.
This task needs to leverage that function to get taskGroups while creating {{pkg/cache/application}} object. For normal apps, we directly retrieve the taskGroups info from the *first pod* seen by the scheduler.
There are a few assumptions
# If there are multiple pods in one app. The 1st pod must have the taskGroups defined, or all the pods should have same taskGroups definition.
# If there are multiple taskGroups defined, different pods that belong to different groups need to set “yunikorn.apache.org/taskGroupName” accordingly.
> Retrieve app taskGroups from pod spec
> -------------------------------------
>
> Key: YUNIKORN-458
> URL: https://issues.apache.org/jira/browse/YUNIKORN-458
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: shim - kubernetes
> Reporter: Weiwei Yang
> Priority: Major
>
> YUNIKORN-439 has added the utility function to retrieve taskGroups from pod annotation.
> This task needs to leverage that function to get taskGroups while creating {{pkg/cache/application}} object. For normal apps, we directly retrieve the taskGroups info from the *first pod* seen by the scheduler.
> Similarly, we need to parse the `taskGroupName` for each task (from the pod), and add that to {{pkg/cache/task}} object.
> There are a few assumptions
> # If there are multiple pods in one app. The 1st pod must have the taskGroups defined, or all the pods should have same taskGroups definition.
> # If there are multiple taskGroups defined, different pods that belong to different groups need to set “yunikorn.apache.org/taskGroupName” accordingly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org