Skip to content

kueue: add MultiKueueConfig list and detail views - #1187

Open
Thesmoothengineer wants to merge 1 commit into
headlamp-k8s:mainfrom
Thesmoothengineer:multikueueconfig-final-clean
Open

kueue: add MultiKueueConfig list and detail views#1187
Thesmoothengineer wants to merge 1 commit into
headlamp-k8s:mainfrom
Thesmoothengineer:multikueueconfig-final-clean

Conversation

@Thesmoothengineer

Copy link
Copy Markdown

What this PR does

Adds initial Headlamp UI support for Kueue's MultiKueueConfig resource, following the same
pattern established by ClusterQueue, LocalQueue, ResourceFlavor, and Workload:

  • src/resources/multiKueueConfig.tsMultiKueueConfig resource class with a spec.clusters
    getter.
  • src/resources/multiKueueConfigFormatters.ts — exported, documented, pure formatter functions
    for rendering the cluster list and cluster count.
  • src/resources/multiKueueConfig.test.ts — unit tests for the formatters.
  • src/components/multikueueconfigs/List.tsx and Detail.tsx — list and detail views.
  • Registers a new MultiKueueConfigs sidebar entry and routes in index.tsx /
    kueueRoutes.ts.

Testing

  • npm run test — all 27 tests pass (5 new).
  • npm run build — builds cleanly.
  • Verified locally in a running Headlamp instance against a kind cluster with a real
    MultiKueueConfig resource — both the list and detail views render the cluster names and
    cluster count correctly.

Why

MultiKueue is called out as a potential focus area for this term. This PR adds basic
visibility into MultiKueueConfig resources as a foundation that later work (e.g. manager/
worker cluster relationships, connectivity, workload routing) can build on.

Signed-off-by: ANANT YADAV <yashkumar200526@gmail.com>
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