VerticalPodAutoscaler does not reconcile VerticalPodAutoscalerCheckpoint properly, causing wrong podMinCPUMillicores being calculated for pods
Issue
- We found that VPA would recommend the CPU value to be set to 50m for a specific pod. But when changing the container name in the deployment, suddenly, two
VerticalPodAutoscalerCheckpointare being reported and the minimum CPU is set to 25m instead of 50m, which is not correct. podMinCPUMillicoresvalue is set to 50% on the respective deployment even though it has only one container and therefore should have 100% ofpodMinCPUMillicoresset.- VPA aggregates not pruned when container names change causing stale results
VerticalPodAutoscalerdoes createVerticalPodAutoscalerCheckpointresources for each Container in a pod. Yet it does not reconcile the object in case the container name in the pod is changing, causingpodMinCPUMillicoresto be applied on the base of two containers in one pod instead of just one.
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4
- Vertical Pod Autoscaler (VPA)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.