[
https://issues.apache.org/jira/browse/YUNIKORN-2230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Condit resolved YUNIKORN-2230.
------------------------------------
Fix Version/s: 1.6.0
Target Version: 1.6.0, 1.5.2
Resolution: Delivered
Resolved via other issues.
> Placement rule does not behave as expected
> ------------------------------------------
>
> Key: YUNIKORN-2230
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2230
> Project: Apache YuniKorn
> Issue Type: Bug
> Reporter: Kuan Po Tseng
> Assignee: Kuan Po Tseng
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.6.0
>
>
> yunikorn configmap
> {code:yaml}
> apiVersion: v1
> kind: ConfigMap
> metadata:
> name: yunikorn-configs
> namespace: yunikorn
> data:
> log.level: "DEBUG"
> admissionController.filtering.defaultQueue: ""
> queues.yaml: |
> partitions:
> - name: default
> placementrules:
> - name: provided
> create: false
> - name: tag
> value: namespace
> create: true
> queues:
> - name: root
> submitacl: "*"
> queues:
> - name: sandbox
> submitacl: "*"
> {code}
> test pod
> {code:yaml}
> apiVersion: v1
> kind: Pod
> metadata:
> labels:
> app: sleep
> applicationId: "application-sleep-0001"
> name: task0
> spec:
> schedulerName: yunikorn
> restartPolicy: Never
> containers:
> - name: sleep-30s
> image: "alpine:latest"
> command: ["sleep", "30"]
> resources:
> requests:
> cpu: "100m"
> memory: "500M"
> {code}
> Even though there is no queue name specified for the sleep pod, it's still
> submitted to root.sandbox(Shim 's default queue value.) What we expected was
> that it should submit the application through 'tag' placement rule.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]