kubernetes v1.32

ResourceSliceSpec

ResourceSliceSpec contains the information published by the driver in one ResourceSlice.

6 fields
ResourceSliceSpec fields and descriptions
Field / TypeDescription
allNodes
boolean

AllNodes indicates that all nodes have access to the resources in the pool. Exactly one of NodeName, NodeSelector and AllNodes must be set.

Device[]

Devices lists some or all of the devices in this pool. Must not have more than 128 entries.

  • x-kubernetes-list-type: "atomic"
driver
string required

Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.

nodeName
string

NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node. This field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available. Exactly one of NodeName, NodeSelector and AllNodes must be set. This field is immutable.

NodeSelector

NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node. Must use exactly one term. Exactly one of NodeName, NodeSelector and AllNodes must be set.

  • x-kubernetes-map-type: "atomic"
ResourcePool required

Pool describes the pool that this ResourceSlice belongs to.