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/12/23 23:30:00 UTC

[jira] [Resolved] (YUNIKORN-478) Handle app completion at the shim side

     [ https://issues.apache.org/jira/browse/YUNIKORN-478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weiwei Yang resolved YUNIKORN-478.
----------------------------------
    Fix Version/s: 0.10
       Resolution: Fixed

> Handle app completion at the shim side
> --------------------------------------
>
>                 Key: YUNIKORN-478
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-478
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>          Components: shim - kubernetes
>            Reporter: Weiwei Yang
>            Assignee: Ting Yao,Huang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10
>
>
> We need a generic approach to tell if an app gets canceled or finished.
> Add the following annotations:
>  - yunikorn.apache.org/appCompletionBarrierCount: 1
>  - yunikorn.apache.org/appCompletionBarrier: true
> The criteria to tell if an app is completed is: the given count of pods with yunikorn.apache.org/appCompletionBarrier=true has terminated. When the app is completed, we need to do
> # shim side, we need to delete all the placeholders
> # shim needs to send UpdateRequest#RemoveApplications in order to notify the scheduler



--
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