Skip to content

DRA: List Types for Attributes #5491

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

lead-opted-inDenotes that an issue has been opted in to a releasesig/schedulingCategorizes an issue or PR as relevant to SIG Scheduling.stage/alphaDenotes an issue tracking an enhancement targeted for Alpha statuswg/device-managementCategorizes an issue or PR as relevant to WG Device Management.

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions