[
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: [email protected]
For additional commands, e-mail: [email protected]