You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2023/03/22 04:28:00 UTC

[jira] [Comment Edited] (YUNIKORN-1647) Dynamic namespace support in Admission controller

    [ 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org