« lib/IO/K8s/Api/Resource/V1beta1/NetworkDeviceData.pm
↑ Summary
lib/IO/K8s/Api/Resource/V1beta1/NodeAllocatableOverhead.pm »
| 1 | package IO::K8s::Api::Resource::V1beta1::NodeAllocatableMapping; | ||
| 2 | # ABSTRACT: NodeAllocatableMapping defines how a DRA allocation directly translates into a node allocatable resource quantity. The mapping can be derived from either the count of allocated devices or the specific capacity consumed. These options are mutually exclusive. Kubelet adds this mapped resource quantity from claim to both requests and limits at the pod-level cgroup, and to limits at the container-level cgroup for each container referencing the claim. | ||
| 3 | 2 | our $VERSION = '1.112'; | |
| 4 | 2 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | k8s capacityKey => Str; | |
| 7 | |||
| 8 | |||
| 9 | 2 | k8s capacityMultiplier => Quantity; | |
| 10 | |||
| 11 | |||
| 12 | 2 | k8s deviceMultiplier => Quantity; | |
| 13 | |||
| 14 | |||
| 15 | 2 | 1; | |
| 16 | |||
| 17 | __END__ | ||