@@ -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