Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Currently, we support queue/applicationID set in both label and annotation.
Queue
- queue [label] → If set, ignore annotation’s value
- yunikorn.apache.org/queue [annotation]
ApplicationID
- applicationId [label]
- yunikorn.apache.org/app-id [annotation] → If set, ignore label’s value
According to the new policy defined in YUNIKORN-1351.
We will add canonical representation to Queue/ApplicationId:
- yunikorn.apache.org/queue [label]
- yunikorn.apache.org/app-id [label]
Non-canonical format will be kept for backward compatibility.
However, If the same metadata (queue or applicationID) is specified in multiple locations and their values are inconsistent, the admission controller and scheduler should reject the pod.
Admission controller should only patch canonical representation in the future release, please refer the changes in YUNIKORN-1351’s policy document(‘What will be changed’ → ‘Admission Controller Changes).