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

Kinga Marton updated YUNIKORN-352:
----------------------------------
    Priority: Major  (was: Critical)

> when child queue capacity greater than parent, the configmap update is 
> rejected but not notified to end user
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: YUNIKORN-352
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-352
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - scheduler
>            Reporter: Ayub Pathan
>            Assignee: Kinga Marton
>            Priority: Major
>
> Create a nested static queue like below.
> {noformat}
> partitions:
>   -
>     name: default
>     placementrules:
>       - name: tag
>         value: namespace
>         create: true
>     queues:
>       - name: root
>         submitacl: '*'
>         queues:
>           - name: queue2
>             resources:
>               guaranteed:
>                 memory: 300
>                 cpu: 300
>               max:
>                 memory: 1000
>                 cpu: 1000
>             queues:
>               - name: queue3
>                 resources:
>                   guaranteed:
>                     memory: 300
>                     cpu: 300
>                   max:
>                     memory: 2000
>                     cpu: 2000
> {noformat}
> Validate the same through rest API /queues - queues3 is not even shown in the 
> response.
> {noformat}
> {
>     "capacity": {
>         "capacity": "map[attachable-volumes-aws-ebs:75 
> ephemeral-storage:94992122100 hugepages-1Gi:0 hugepages-2Mi:0 memory:18966 
> pods:87 vcore:4875]",
>         "usedcapacity": "0"
>     },
>     "nodes": null,
>     "partitionName": "[mycluster]default",
>     "queues": {
>         "capacities": {
>             "absusedcapacity": "[memory:0 vcore:2]",
>             "capacity": "[]",
>             "maxcapacity": "[attachable-volumes-aws-ebs:75 
> ephemeral-storage:94992122100 hugepages-1Gi:0 hugepages-2Mi:0 memory:18966 
> pods:87 vcore:4875]",
>             "usedcapacity": "[memory:1 vcore:110]"
>         },
>         "properties": {},
>         "queuename": "root",
>         "queues": [
>             {
>                 "capacities": {
>                     "absusedcapacity": "[]",
>                     "capacity": "[]",
>                     "maxcapacity": "[]",
>                     "usedcapacity": "[memory:1]"
>                 },
>                 "properties": {},
>                 "queuename": "monitoring",
>                 "queues": null,
>                 "status": "Active"
>             },
>             {
>                 "capacities": {
>                     "absusedcapacity": "[]",
>                     "capacity": "[]",
>                     "maxcapacity": "[]",
>                     "usedcapacity": "[vcore:110]"
>                 },
>                 "properties": {},
>                 "queuename": "kube-system",
>                 "queues": null,
>                 "status": "Active"
>             },
>             {
>                 "capacities": {
>                     "absusedcapacity": "[]",
>                     "capacity": "[cpu:300 memory:300]",
>                     "maxcapacity": "[cpu:1000 memory:1000]",
>                     "usedcapacity": "[]"
>                 },
>                 "properties": {},
>                 "queuename": "queue2",
>                 "queues": null,
>                 "status": "Active"
>             }
>         ],
>         "status": "Active"
>     }
> }
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: issues-h...@yunikorn.apache.org

Reply via email to