You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Ayub Pathan (Jira)" <ji...@apache.org> on 2020/08/06 23:18:00 UTC

[jira] [Created] (YUNIKORN-352) Nested static queues information are not returned by yunikorn

Ayub Pathan created YUNIKORN-352:
------------------------------------

             Summary: Nested static queues information are not returned by yunikorn
                 Key: YUNIKORN-352
                 URL: https://issues.apache.org/jira/browse/YUNIKORN-352
             Project: Apache YuniKorn
          Issue Type: Bug
          Components: core - scheduler
            Reporter: Ayub Pathan


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: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org