zhuqi-lucas opened a new pull request, #584:
URL: https://github.com/apache/yunikorn-k8shim/pull/584

   ### What is this PR for?
   In AWS EMR on EKS service, the driver real pod's ownerReference is configmap.
   And placeholder's ownerReference is also the driver configmap.
   
   When user cancels emr-containers job, the job-submitter is terminated,
   but the placeholder still remains in pending state.
   
https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/emr-eks.html
   
   
   Make sure configmap owner reference is not returned for pod, it will return 
the real driver pod itself
   because when the placeholder pod set ownerreference to configmap, the 
configmap will not be deleted for placeholder pod
   to GC, we need set the placeholder pod's ownerreference to the real driver 
pod, when the real driver pod is deleted, the
   placeholder will be deleted as well.
   
   
   ### What type of PR is it?
   * [ ] - Bug Fix
   * [ ] - Improvement
   * [ ] - Feature
   * [ ] - Documentation
   * [ ] - Hot Fix
   * [ ] - Refactoring
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * Open an issue on Jira https://issues.apache.org/jira/browse/YUNIKORN/
   * Put link here, and add [YUNIKORN-*Jira number*] in PR title, eg. 
`[YUNIKORN-2] Gang scheduling interface parameters`
   
   ### How should this be tested?
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * [ ] - The licenses files need update.
   * [ ] - There is breaking changes for older versions.
   * [ ] - It needs documentation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to