Skip to content

Allow VPA to skip eviction when in-place update fails #8720

@Jrmy2402

Description

@Jrmy2402

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/vertical-pod-autoscalerkind/featureCategorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions