From 5c8b57b3babd5b7185883b6f7f9691f8cf50f0fd Mon Sep 17 00:00:00 2001 From: Tim Allclair Date: Thu, 7 Nov 2024 15:52:53 -0800 Subject: [PATCH] Fix AllocatedResources feature gate annotation Kubernetes-commit: 8661f743a3898dc2d169ce5796810ad27bce2e52 --- core/v1/generated.proto | 2 +- core/v1/types.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/v1/generated.proto b/core/v1/generated.proto index 40e0fb09f..83a7c570c 100644 --- a/core/v1/generated.proto +++ b/core/v1/generated.proto @@ -1070,7 +1070,7 @@ message ContainerStatus { // AllocatedResources represents the compute resources allocated for this container by the // node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission // and after successfully admitting desired pod resize. - // +featureGate=InPlacePodVerticalScaling + // +featureGate=InPlacePodVerticalScalingAllocatedStatus // +optional map allocatedResources = 10; diff --git a/core/v1/types.go b/core/v1/types.go index d1700f10e..76bb347e4 100644 --- a/core/v1/types.go +++ b/core/v1/types.go @@ -3119,7 +3119,7 @@ type ContainerStatus struct { // AllocatedResources represents the compute resources allocated for this container by the // node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission // and after successfully admitting desired pod resize. - // +featureGate=InPlacePodVerticalScaling + // +featureGate=InPlacePodVerticalScalingAllocatedStatus // +optional AllocatedResources ResourceList `json:"allocatedResources,omitempty" protobuf:"bytes,10,rep,name=allocatedResources,casttype=ResourceList,castkey=ResourceName"` // Resources represents the compute resource requests and limits that have been successfully