craigcondit opened a new pull request, #579:
URL: https://github.com/apache/yunikorn-k8shim/pull/579

   ### What is this PR for?
   The admission controller allows pods in configured namespaces to be either
   bypassed entirely, or passed through to YuniKorn but not labeled for
   processing (useful in the plugin deployment to pass through to the embedded
   default scheduler). However, if YuniKorn detects an applicationId or Spark
   spark-app-selector, it will attempt to schedule that Pod via YuniKorn
   regardless. This may not succeed if there is not a valid queue available
   which matches placement rules.
   
   To prevent this, the admission controller will now annotate pods which are
   in non-labeled namespaces to mark them as ignored by YuniKorn, and the
   scheduler will honor this annotation. This ensures that a namespace is
   either processed completely by YuniKorn, or not at all
   
   ### 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-1707
   
   ### How should this be tested?
   Unit tests updated.
   
   ### 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