kueue: Add Topology-Aware Scheduling resource model and views - #1235
Open
abhayrajjais01 wants to merge 1 commit into
Open
kueue: Add Topology-Aware Scheduling resource model and views#1235abhayrajjais01 wants to merge 1 commit into
abhayrajjais01 wants to merge 1 commit into
Conversation
Implement Topology CRD model, formatters, list and detail views, sidebar navigation, and unit tests for Topology-Aware Scheduling (TAS). Signed-off-by: Abhayraj Jaiswal <abhayraj916146@gmail.com>
abhayrajjais01
requested review from
ashu8912,
illume,
joaquimrocha,
skoeva,
sniok,
vyncent-t and
yolossn
as code owners
August 22, 2026 16:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces support for Kueue's
TopologyCRD (kueue.x-k8s.io/v1alpha1/kueue.x-k8s.io/v1beta1) in the Headlamp Kueue plugin.Topology-Aware Scheduling (TAS) is a feature in Kueue that allows cluster administrators to model physical hardware topology (such as
rack->block->node->gpu) so that large-scale distributed AI/ML training workloads (Ray, PyTorch, vLLM) are co-located within low-latency interconnect boundaries.What Changes
Resource Model & Formatters (
src/resources/):Implemented
Topologymodel extendingKubeObject<KubeTopology>.Added pure formatters for level hierarchy chains (
renderTopologyLevelsSummary), level counts (renderTopologyLevelsCount), and node label associations.UI Views (
src/components/topologies/):TopologyList:ResourceListViewdisplaying name, levels hierarchy (rack (topology.kubernetes.io/rack) → block → node), total levels, and age withuseTranslation()localization.TopologyDetail:DetailsGridshowing total levels, level chain, and an interactive Topology Levels Hierarchy card inspector detailing level numbers, names, and node labels.Navigation & Routing:
Registered
Topologiessidebar navigation entry under theKueuemenu group.Registered list (
/kueue/topologies) and detail (/kueue/topologies/:name) routes inkueueRoutes.tsandindex.tsx.Unit Tests (
src/resources/topology.test.ts):Added 8 unit tests covering level formatting, null fallbacks, arrow chain rendering, and level extraction.
How Has This Been Tested?
Checklist