You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Kuan-Po Tseng (Jira)" <ji...@apache.org> on 2023/12/03 08:16:00 UTC
[jira] [Created] (YUNIKORN-2230) Fix placement rule not behave as expected
Kuan-Po Tseng created YUNIKORN-2230:
---------------------------------------
Summary: Fix placement rule 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
yunikorn configmap
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: "*"
test pod
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"
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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org