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

Weiwei Yang updated YUNIKORN-569:
---------------------------------
    Description: 
Currently, the allocations list only displays the allocation key for each of 
the allocations, on K8s that is the pod UID which doesn't mean anything to the 
users. We should display the pod namespace/name for each allocation in order to 
track them down. Pod's namespace/name are passed into the scheduler-core via 
the allocation tags field in the scheduler-interface. This is already available 
in the REST API response:

{code}
 {
                "allocationKey": "18b1d7ab-5874-4c66-b932-a0c8c7fef002",
                "allocationTags": {
                    "kubernetes.io/label/dex-job-run-id": "4",
                    "kubernetes.io/label/name": "executor",
                    "kubernetes.io/label/queue": "root.default",
                    "kubernetes.io/label/spark-role": "executor",
                    "kubernetes.io/meta/namespace": "some-namespace",
                    "kubernetes.io/meta/podName": "some-pod-name"
                },
                "uuid": "eacdda2d-398a-4094-8610-37b6230b5232",
                "resource": "[memory:30924 vcore:6000]",
                "priority": "0",
                "queueName": "root.dex-app-98lrh99w",
                "nodeId": "ip-10-80-157-100.us-west-2.compute.internal",
                "applicationId": "spark-5a96c0073c234d78ab2f4f765170bbb7",
                "partition": "default"
            },
}
{code}

  was:
Currently, the allocations list only displays the allocation key for each of 
the allocations, on K8s that is the pod UID which doesn't mean anything to the 
users. We should display the pod namespace/name for each allocation in order to 
track them down. Pod's namespace/name can be passed into the scheduler-core via 
the allocation tags field in the scheduler-interface. 



> Display pod namespace/name for the allocations on the apps/nodes page
> ---------------------------------------------------------------------
>
>                 Key: YUNIKORN-569
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-569
>             Project: Apache YuniKorn
>          Issue Type: Sub-task
>            Reporter: Weiwei Yang
>            Priority: Major
>              Labels: newbie
>         Attachments: YuniKorn_UI.png
>
>
> Currently, the allocations list only displays the allocation key for each of 
> the allocations, on K8s that is the pod UID which doesn't mean anything to 
> the users. We should display the pod namespace/name for each allocation in 
> order to track them down. Pod's namespace/name are passed into the 
> scheduler-core via the allocation tags field in the scheduler-interface. This 
> is already available in the REST API response:
> {code}
>  {
>                 "allocationKey": "18b1d7ab-5874-4c66-b932-a0c8c7fef002",
>                 "allocationTags": {
>                     "kubernetes.io/label/dex-job-run-id": "4",
>                     "kubernetes.io/label/name": "executor",
>                     "kubernetes.io/label/queue": "root.default",
>                     "kubernetes.io/label/spark-role": "executor",
>                     "kubernetes.io/meta/namespace": "some-namespace",
>                     "kubernetes.io/meta/podName": "some-pod-name"
>                 },
>                 "uuid": "eacdda2d-398a-4094-8610-37b6230b5232",
>                 "resource": "[memory:30924 vcore:6000]",
>                 "priority": "0",
>                 "queueName": "root.dex-app-98lrh99w",
>                 "nodeId": "ip-10-80-157-100.us-west-2.compute.internal",
>                 "applicationId": "spark-5a96c0073c234d78ab2f4f765170bbb7",
>                 "partition": "default"
>             },
> }
> {code}



--
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