Yu-Lin Chen created YUNIKORN-2810:
-------------------------------------
Summary: Throw a warning if a pod has inconsistent metadata in the
shim
Key: YUNIKORN-2810
URL: https://issues.apache.org/jira/browse/YUNIKORN-2810
Project: Apache YuniKorn
Issue Type: Sub-task
Components: shim - kubernetes
Reporter: Yu-Lin Chen
Assignee: Yu-Lin Chen
Based on the proposed change in YUNIKORN-1351.
If the same metadata (such as queue or applicationID) is configured
inconsistently in task pod, the scheduler should reject it.
For example, this task pod should be rejected by scheduler:
{code:java}
apiVersion: v1
kind: Pod
metadata:
labels:
applicationId: "application-A"
annotations:
yunikorn.apache.org/app-id: "application-B" {code}
In 1.6.0, we only throw a warning. The rejection will be implemented in 1.7.0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]