Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-568 [Umbrella] UI usability enhancements
  3. YUNIKORN-569

Display pod namespace/name for the allocations on the apps/nodes page

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • None

    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:

       {
                      "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"
                  },
      }
      

      Attachments

        1. YuniKorn_UI.png
          359 kB
          Weiwei Yang

        Issue Links

          Activity

            People

              kobe860219 Wen-Chien,Juan
              wwei Weiwei Yang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: