Interface: ResourceSliceDevice
Defined in: lib/k8s/resourceSlice.ts:56
One device that a driver publishes in a slice.
Properties
allNodes?
optional allNodes?: boolean;
Defined in: lib/k8s/resourceSlice.ts:71
Set when every node in the cluster can use the device.
attributes?
optional attributes?: Record<string, DeviceAttribute>;
Defined in: lib/k8s/resourceSlice.ts:60
Facts about the device that selectors can match, keyed by a qualified name.
capacity?
optional capacity?: Record<string, DeviceCapacity>;
Defined in: lib/k8s/resourceSlice.ts:62
The amounts of resources the device has, keyed by a qualified name.
name
name: string;
Defined in: lib/k8s/resourceSlice.ts:58
The device name, unique within the pool.
nodeName?
optional nodeName?: string;
Defined in: lib/k8s/resourceSlice.ts:67
The one node that can use the device. The node fields of a device are set only
when the slice uses perDeviceNodeSelection, and then exactly one of them is set.
nodeSelector?
optional nodeSelector?: object;
Defined in: lib/k8s/resourceSlice.ts:69
The nodes that can use the device.
nodeSelectorTerms
nodeSelectorTerms: NodeSelectorTerm[];
taints?
optional taints?: DeviceTaint[];
Defined in: lib/k8s/resourceSlice.ts:73
The taints the driver put on the device.