Skip to main content

Interface: DeviceClassSpec

Defined in: lib/k8s/deviceClass.ts:41

Properties​

config?​

optional config?: DeviceClassConfiguration[];

Defined in: lib/k8s/deviceClass.ts:45

Configuration applied to every allocation of the class.


extendedResourceName?​

optional extendedResourceName?: string;

Defined in: lib/k8s/deviceClass.ts:50

Lets a pod's ordinary extended resource request, e.g. example.com/gpu in resources.limits, be satisfied by devices of this class. Beta in 1.36.


selectors?​

optional selectors?: DeviceSelector[];

Defined in: lib/k8s/deviceClass.ts:43

Every selector must match for a device to belong to the class. None matches all devices.