⎈ k8s knowledge compiler

PodResourceClaim [api_object]ai-synthesized · conf 0.82

PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name. When the DRAWorkloadResourceClaims feature gate is enabled and this Pod belongs to a PodGroup, a PodResourceClaim is matched to a PodGroupResourceClaim if all of their fields are equal (Name, ResourceClaimName, and ResourceClaimTemplateName). A matched claim references a single ResourceClaim shared across all Pods in the PodGroup, reserved for the PodGroup in ResourceClaimStatus.ReservedFor rather than for individual Pods.

core

A PodResourceClaim is an object that represents a request for resources, such as CPU and memory.

Why it matters It allows users to specify the resource requirements of their pods without having to know the exact amount of resources available in the cluster.

Key facts - Represents a request for resources - Does not guarantee allocation of specific resources

Common pitfalls - May result in over-allocation of resources if not managed properly

Related Pods, Resource requests

Sources

swagger.jsonio.k8s.api.core.v1.PodResourceClaim

Related (1)

related_to PodSpecreferences type conf=1

← all API Explorer