We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eec4a36 + 0024e87 commit 8b72a52Copy full SHA for 8b72a52
vertical-pod-autoscaler/pkg/recommender/routines/vpa.go
@@ -32,6 +32,7 @@ func GetContainerNameToAggregateStateMap(vpa *model.Vpa) model.ContainerNameToAg
32
autoscalingDisabled := containerResourcePolicy != nil && containerResourcePolicy.Mode != nil &&
33
*containerResourcePolicy.Mode == vpa_types.ContainerScalingModeOff
34
if !autoscalingDisabled && aggregatedContainerState.TotalSamplesCount > 0 {
35
+ aggregatedContainerState.UpdateFromPolicy(containerResourcePolicy)
36
filteredContainerNameToAggregateStateMap[containerName] = aggregatedContainerState
37
}
38
0 commit comments