Skip to main content
Schemaobject

io.k8s.api.resource.v1beta2.CapacityRequirements

CapacityRequirements defines the capacity requirements for a specific device request.

Source
specs/apis__resource.k8s.io__v1beta2_openapi.json
Revision
9a79c3bd90f7
Active snapshot
2a9112600697
requests object
optional

Requests represent individual device resource requests for distinct resources, all of which must be provided by the device. This value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[<domain>].<name>.compareTo(quantity(<request quantity>)) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0. When a requestPolicy is defined, the requested amount…