Skip to content

Kueue: Add relational navigation - #1131

Open
Utkarshpandey0001 wants to merge 4 commits into
headlamp-k8s:mainfrom
Utkarshpandey0001:kueue-relational-navigation
Open

Kueue: Add relational navigation #1131
Utkarshpandey0001 wants to merge 4 commits into
headlamp-k8s:mainfrom
Utkarshpandey0001:kueue-relational-navigation

Conversation

@Utkarshpandey0001

@Utkarshpandey0001 Utkarshpandey0001 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds relational navigation between Kueue resources, completing the core navigation flow:

ClusterQueue → LocalQueues → Workloads

Operators can now inspect the resources associated with a queue directly from its detail page instead of manually searching for them across separate views.

Changes

  • Added a Related LocalQueues table to the ClusterQueue detail page.

  • Added a Related Workloads table to the ClusterQueue detail page.

  • Added a Related Workloads table to the LocalQueue detail page.

  • Made LocalQueue and Workload names clickable for direct navigation to their detail pages.

  • Added namespace-aware filtering for namespaced resources.

  • Included both:

    • Pending workloads associated through a LocalQueue.
    • Admitted workloads assigned directly to a ClusterQueue.
  • Reused the existing Headlamp table and navigation patterns for consistent UX.

Relationship flow

ClusterQueue
├── LocalQueues
│   └── Workloads
└── Admitted Workloads

A ClusterQueue’s related workload list is determined using either:

  • The workload’s admitted ClusterQueue assignment.
  • The LocalQueue referenced by the workload when that LocalQueue targets the current ClusterQueue.

This ensures that pending workloads are not omitted simply because they have not yet been admitted.

Why is this needed?

The Kueue plugin already exposes ClusterQueues, LocalQueues, and Workloads, but users previously had to locate related resources manually.

This change makes queue relationships directly inspectable and implements the relational-navigation requirement defined in the project scope.

Validation

  • TypeScript checks pass.
  • ESLint passes.
  • All existing tests pass (22/22).

Screenshot

Screenshot 2026-08-11 at 9 45 55 PM Screenshot 2026-08-11 at 9 46 14 PM Screenshot 2026-08-11 at 9 46 32 PM

@Utkarshpandey0001 Utkarshpandey0001 changed the title Kueue relational navigation Kueue: Add relational navigation Aug 11, 2026
Signed-off-by: Utkarshpandey0001 <rajutkarshpandey2003@gmail.com>
Signed-off-by: Utkarshpandey0001 <rajutkarshpandey2003@gmail.com>
Signed-off-by: Utkarshpandey0001 <rajutkarshpandey2003@gmail.com>
@Utkarshpandey0001
Utkarshpandey0001 force-pushed the kueue-relational-navigation branch from 5027289 to 5af382a Compare August 11, 2026 16:20
Signed-off-by: Utkarshpandey0001 <rajutkarshpandey2003@gmail.com>
@Utkarshpandey0001
Utkarshpandey0001 force-pushed the kueue-relational-navigation branch from 8b6893e to f38df0e Compare August 15, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant