[ 
https://issues.apache.org/jira/browse/YUNIKORN-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yu-Lin Chen updated YUNIKORN-2631:
----------------------------------
    Description: 
Admission controller adds applicationID and label to Pod if they are not 
already set in the Pod.

According to the new policy defined in YUNIKORN-1351.

Admission Controller will change to patch canonical label/annotation in the 
future releases.
 * yunikorn.apache.org/app-id (Canonical Label)
 * yunikorn.apache.org/queue  (Canonical Label)

To avoid an upgrade problem where the admission controller gets started first, 
AM needs to generate both canonical/non-canonical labels in 1.6.0. (This 
ensures that the 1.5.0 scheduler could understand labels generated in the 1.6.0 
admission controller)  In 1.7.0, we can switch to generating only the canonical 
label in AM.

  was:
Admission controller adds applicationID and label to Pod if they are not 
already set in the Pod.

According to the new policy defined in YUNIKORN-1351.

Admission Controller will change to patch canonical label/annotation in the 
future releases.
 * yunikorn.apache.org/applicationId (Canonical Label)
 * yunikorn.apache.org/queue  (Canonical Label)

To avoid an upgrade problem where the admission controller gets started first, 
AM needs to generate both canonical/non-canonical labels in 1.6.0. (This 
ensures that the 1.5.0 scheduler could understand labels generated in the 1.6.0 
admission controller)  In 1.7.0, we can switch to generating only the canonical 
label in AM.


> Support canonical labels for queue/applicationId in Admission Controller
> ------------------------------------------------------------------------
>
>                 Key: YUNIKORN-2631
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2631
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>          Components: shim - kubernetes
>            Reporter: Yu-Lin Chen
>            Assignee: Yu-Lin Chen
>            Priority: Major
>
> Admission controller adds applicationID and label to Pod if they are not 
> already set in the Pod.
> According to the new policy defined in YUNIKORN-1351.
> Admission Controller will change to patch canonical label/annotation in the 
> future releases.
>  * yunikorn.apache.org/app-id (Canonical Label)
>  * yunikorn.apache.org/queue  (Canonical Label)
> To avoid an upgrade problem where the admission controller gets started 
> first, AM needs to generate both canonical/non-canonical labels in 1.6.0. 
> (This ensures that the 1.5.0 scheduler could understand labels generated in 
> the 1.6.0 admission controller)  In 1.7.0, we can switch to generating only 
> the canonical label in AM.



--
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