Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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
Attachments
Issue Links
- links to