[ 
https://issues.apache.org/jira/browse/YUNIKORN-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703474#comment-17703474
 ] 

Wilfred Spiegelenburg edited comment on YUNIKORN-1647 at 3/22/23 4:27 AM:
--------------------------------------------------------------------------

Same setup: two values, one for setting the scheduler name and one for checking 
if we need to generate an application ID.

The annotations have preference over the regexp. If no annotations are found 
use the regexp. If an annotation is found it defines the behaviour.

Annotations to be supported on a namespace:
 * yunikorn.apache.org/namespace.generateAppId
 * yunikorn.apache.org/namespace.enableYuniKorn

Supported values for the annotation: {{true}} or {{{}false{}}}.


was (Author: wifreds):
Same setup: two values, one for setting the scheduler name and one for checking 
if we need to generate an application ID.

The annotations have preference over the regexp. If no annotations are found 
use the regexp. If an annotation is found it defines the behaviour.

Annotations to be supported on a namespace:
 * yunikorn.apache.org/namespace.generateAppId
 * 
yunikorn.apache.org/namespace.enableYuniKorn

Supported values for the annotation: {{true}} or {{{}false{}}}.

> Dynamic namespace support in Admission controller
> -------------------------------------------------
>
>                 Key: YUNIKORN-1647
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1647
>             Project: Apache YuniKorn
>          Issue Type: New Feature
>          Components: shim - kubernetes
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>
> Adding labels and processing pods in a namespace can only be configured via 
> regular expressions in the admission controller. If a namespace is not 
> included by the regular expression the pods will bypass the scheduler. In the 
> case that namespace names do not follow a pattern that can be easily covered 
> with a regexp it becomes an administrative burden.
> A more flexible setup would allow a namespace to be tagged for processing by 
> the admission controller.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to