Skip to content

DRA: List Types for Attributes #5491

@johnbelamaric

Description

@johnbelamaric

Enhancement Description

The ResourceSlice API allows users to attach scalar attributes to devices. These can be used to allocate devices that share common topology within the node. For certain types of topological relationships, scalar values are insufficient. For example, a CPU may have adjacency to multiple PCIe roots. This enhancement proposes allowing attributes to be lists. The semantics of the MatchAttribute and DistinctAttribute constraints and of the CEL expressions must adapt to the possibility of lists. For example, rather than defining an attribute "match" as equality, it would be defined as a non-empty intersection, treating scalars as single-element lists. Conversely, "distinct" attributes for lists would be defined as an empty intersection.

/wg device-management
/sig scheduling
cc @everpeace @pohly @pravk03 @klueska @liggitt

Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.

Metadata

Metadata

Labels

sig/schedulingCategorizes an issue or PR as relevant to SIG Scheduling.wg/device-managementCategorizes an issue or PR as relevant to WG Device Management.

Type

No type

Projects

Status

📋 Backlog

Status

In Progress

Status

Removed from Milestone

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions