[
https://issues.apache.org/jira/browse/YUNIKORN-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Condit resolved YUNIKORN-1008.
------------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Merged PRs into master in both shim and release repos.
> Allow admission controller to bypass pods in certain namespaces
> ----------------------------------------------------------------
>
> Key: YUNIKORN-1008
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1008
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: shim - kubernetes
> Reporter: Craig Condit
> Assignee: Craig Condit
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
>
> There are times when it is necessary to blacklist certain pods from being
> processed by the YuniKorn admission controller (system-level pods come to
> mind). We should add a the abillity to block pods in certain namespaces from
> being processed.
> Adds a new environment variable *ADMISSION_CONTROLLER_NAMESPACE_BLACKLIST* to
> the admission controller with a default value of "{*}^kube-system${*}". This
> will bypass pods in the *kube-system* namespace by default and allow a
> comma-separated list of expressions to match other namespaces as needed.
> Also adds support to the helm chart for setting this variable at runtime.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]