Skip to content

Commit 0486a66

Browse files
ndixitak8s-publishing-bot
authored andcommitted
API changes for Pod Level IPPR related PodStatus fields
Kubernetes-commit: 69c1fd72aa0cbf7de8c443164585a279bf0e3bfc
1 parent 9d90324 commit 0486a66

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

core/v1/types.go

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5400,6 +5400,24 @@ type PodStatus struct {
54005400
// +featureGate=DRAExtendedResource
54015401
// +optional
54025402
ExtendedResourceClaimStatus *PodExtendedResourceClaimStatus `json:"extendedResourceClaimStatus,omitempty" protobuf:"bytes,18,opt,name=extendedResourceClaimStatus"`
5403+
5404+
// AllocatedResources is the total requests allocated for this pod by the node.
5405+
// If pod-level requests are not set, this will be the total requests aggregated
5406+
// across containers in the pod.
5407+
// +featureGate=InPlacePodLevelResourcesVerticalScaling
5408+
// +optional
5409+
AllocatedResources ResourceList `json:"allocatedResources,omitempty" protobuf:"bytes,19,rep,name=allocatedResources,casttype=ResourceList,castkey=ResourceName"`
5410+
5411+
// Resources represents the compute resource requests and limits that have been
5412+
// applied at the pod level. If pod-level resources are not explicitly specified,
5413+
// then these will be the aggregate resources computed from containers. If limits are
5414+
// not defined for all containers (and pod-level limits are also not set), those
5415+
// containers remain unrestricted, and no aggregate pod-level limits will be applied.
5416+
// Pod-level limit aggregation is only performed, and is meaningful only, when all
5417+
// containers have defined limits.
5418+
// +featureGate=InPlacePodLevelResourcesVerticalScaling
5419+
// +optional
5420+
Resources *ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,20,opt,name=resources"`
54035421
}
54045422

54055423
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

0 commit comments

Comments
 (0)