kubernetes/pkg/controller/devicetainteviction
Patrick Ohly 566dc7f3f3 DRA device taints: graduate to beta
The fields become beta, enabled by default. DeviceTaintRule gets
added to the v1beta2 API, but support for it must remain off by default
because that API group is also off by default.

The v1beta1 API is left unchanged. No-one should be using it
anymore (deprecated in 1.33, could be removed now if it wasn't for
reading old objects and version emulation).

To achieve consistent validation, declarative validation must be enabled also
for v1alpha3 (was already enabled for other versions). Otherwise,
TestVersionedValidationByFuzzing fails:

    --- FAIL: TestVersionedValidationByFuzzing (0.09s)
        --- FAIL: TestVersionedValidationByFuzzing/resource.k8s.io/v1beta2,_Kind=DeviceTaintRule (0.00s)
            validation_test.go:109: different error count (0 vs. 1)
                resource.k8s.io/v1alpha3: <no errors>
                resource.k8s.io/v1beta2: "spec.taint.effect: Unsupported value: \"幤HxÒQP¹¬永唂ȳ垞ş]嘨鶊\": supported values: \"NoExecute\", \"NoSchedule\", \"None\""
            ...
2026-03-12 18:26:02 +01:00
..
config generated files 2025-11-04 21:57:24 +01:00
metrics DRA: add device taint eviction controller 2025-03-19 09:18:38 +01:00
device_taint_eviction.go DRA device taints: graduate to beta 2026-03-12 18:26:02 +01:00
device_taint_eviction_test.go DRA device taints: graduate to beta 2026-03-12 18:26:02 +01:00
doc.go DRA: add device taint eviction controller 2025-03-19 09:18:38 +01:00
mockqueue_test.go DRA device taints: DeviceTaintRule status 2025-11-04 21:57:24 +01:00
nopqueue.go DRA device taint eviction: use NOP queue during simulation 2025-11-05 20:03:17 +01:00
OWNERS DRA device taints controller: add pohly to OWNERS 2025-12-18 12:07:52 +01:00
uid_cache.go DRA device taints: avoid unnecessary Pod lookup 2026-02-27 14:38:30 +01:00