objectio.k8s.api.core.v1.NodeAllocatableOverheadResources
NodeAllocatableOverheadResources describes auxiliary overhead resource allocations.
- Source
specs/api__v1_openapi.json- Revision
9a79c3bd90f7- Active snapshot
2a9112600697
Name is the name of the resource (e.g., cpu, memory).
PerContainer is the variable overhead quantity applied for each container referencing the claim. The container references are recorded in `nodeAllocatableResourceClaimStatuses.containers`. The total overhead quantity allocated for the claim is computed as: Quantity = PerPod + (PerContainer * NumReferences) Kubelet accounts for this overhead in cgroups: - Pod-level cgroup (requests and limits): Kubelet adds PerPod + (PerContainer * NumReferences). - Container-level cgroup (limits only): Kubelet adds PerPod +…
PerPod is the flat overhead quantity allocated per pod. Adding to each container limit allows individual containers to utilize the overhead, while the parent pod-level cgroup limit caps the total usage at the pod boundary where the overhead is accounted for exactly once. At least one of PerPod or PerContainer must be specified. Specifying neither is an invalid configuration.