yangwwei opened a new pull request #265:
URL: https://github.com/apache/incubator-yunikorn-k8shim/pull/265


   ### What is this PR for?
   When pod deletion and allocation happen simultaneously, there is a race that 
can possibly lead to resource leaks. This causes the pods could not be released 
properly even the job has finished. This can be observed from the web UI if a 
job already finished (no pods running anymore on K8s) but on YK UI it is still 
showing as Running with a few allocations, which means we are hitting this 
issue.
   
   ### What type of PR is it?
   * [x] - Bug Fix
   * [ ] - Improvement
   * [ ] - Feature
   * [ ] - Documentation
   * [ ] - Hot Fix
   * [ ] - Refactoring
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * https://issues.apache.org/jira/browse/YUNIKORN-677
   
   ### How should this be tested?
   Tested locally
   
   ### 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.

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


Reply via email to