-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Which component are you using?:
/area vertical-pod-autoscaler
Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:
I’m using the Vertical Pod Autoscaler on StatefulSets with a single replica.
When an in-place update fails, VPA currently falls back to evicting and recreating the Pod.
This causes downtime, which is unacceptable for stateful workloads that can’t tolerate disruption.
Ideally, I’d like VPA to simply skip the update and retry later instead of evicting.
Describe the solution you'd like.:
It would be great to have an option (either a new updateMode or a flag in updatePolicy) to tell VPA:
“If in-place update fails, do not evict or recreate the Pod, just retry later.”
Describe any alternative solutions you've considered.:
I tried setting spec.updatePolicy.minReplicas to 2, but since my StatefulSet only has 1 replica, this prevents VPA from performing any in-place updates at all.
So while it avoids eviction, it also stops updates from happening, which doesn’t fit my use case.