-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
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
- One-line enhancement description (can be used as a release note): Device attributes in a ResourceSlice may now be lists, rather than just scalars.
- Kubernetes Enhancement Proposal: TBD
- Discussion Link:
- PRs by stage and milestone:
- Alpha - v1.35
- KEP (
k/enhancements
) update PR(s): - Code (
k/k
) update PR(s): - Docs (
k/website
) update PR(s):
- KEP (
- Alpha - v1.35
Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.
Metadata
Metadata
Labels
Type
Projects
Status
Status
Status