You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2023/04/25 17:59:00 UTC

[jira] [Created] (YUNIKORN-1707) Admission controller should mark pods in non-labeled namespaces

Craig Condit created YUNIKORN-1707:
--------------------------------------

             Summary: Admission controller should mark pods in non-labeled namespaces
                 Key: YUNIKORN-1707
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1707
             Project: Apache YuniKorn
          Issue Type: Improvement
          Components: shim - kubernetes
            Reporter: Craig Condit
            Assignee: Craig Condit


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 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 should annotate pods which are in non-labeled namespaces to mark them as ignored by yunikorn, and the scheduler should honor this annotation. This will ensure that a namespace is either processed completely by YuniKorn, or not at all.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org