@CustomType.Setter
        public Builder selectors(@Nullable List<DeviceSelector> selectors) {

            this.selectors = selectors;
            return this;
        }
@return If specified, the request&#39;s tolerations.

Tolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.

In addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.

The maximum number of tolerations is 16.

This is an alpha field and requires enabling the DRADeviceTaints feature gate.
sdk/java/src/main/java/com/pulumi/kubernetes/resource/v1beta1/outputs/DeviceSubRequest.java