DeviceTaintRuleSpec
io.k8s.api.resource.v1alpha3.DeviceTaintRuleSpec
source ↗
DeviceTaintRuleSpec specifies the selector and one taint.
deviceSelectorDeviceTaintSelectorDeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
devicestringIf device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.Setting also driver and pool may be required to avoid ambiguity, but is not required.driverstringIf driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.poolstringIf pool is set, only devices in that pool are selected.Also setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.taintDeviceTaint requiredThe taint that gets applied to matching devices.
effectstring requiredThe effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them.Valid effects are None, NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here. More effects may get added in the future. Consumers must treat unknown effects like None.keystring requiredThe taint key to be applied to a device. Must be a label name.timeAddedTimeTimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.valuestringThe taint value corresponding to the taint key. Must be a label value.