You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Akhil PB (Jira)" <ji...@apache.org> on 2021/04/19 06:46:00 UTC

[jira] [Resolved] (YUNIKORN-569) Display pod namespace/name for the allocations on the apps/nodes page

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

Akhil PB resolved YUNIKORN-569.
-------------------------------
    Resolution: Fixed

> 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
>            Assignee: Wen-Chien,Juan
>            Priority: Major
>              Labels: newbie, pull-request-available
>         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.test",
>                 "nodeId": "xxx",
>                 "applicationId": "spark-5a96c0073c234d78ab2f4f765170bbb7",
>                 "partition": "default"
>             },
> }
> {code}



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