NAME
IO::K8s::Api::Resource::V1::CapacityRequirements - CapacityRequirements defines the capacity requirements for a specific device request.
VERSION
version 1.105
requests
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>)) >= 0>.
When a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value because it exceeds what the requestPolicy allows, the device is considered ineligible for allocation.
For any capacity that is not explicitly requested: if no requestPolicy is set, the default consumed capacity is equal to the full device capacity (i.e., the whole device is claimed); if a requestPolicy is set, the default consumed capacity is determined according to that policy.
The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim's status.devices[*].consumedCapacity field.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/issues.
IRC
Join #kubernetes on irc.perl.org or message Getty directly.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHORS
Torsten Raudssus <torsten@raudssus.de>
Jose Luis Martinez Torres <jlmartin@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2018-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004