Skip to content

vpa "auto" mode does not work with replicas: 1 #1665

@suhas184

Description

@suhas184

The vpa hamster example in the git repo does not work if the replica count is decreased to 1 .

The deployment object definition is as below:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hamster
spec:
replicas: 2

if we change the replicas to , it doesn't evict the pod and creare a new one with recommended cpu and memory. The recommendation is provided but it does not automatically recreate a pod with new specifications under "Auto" or "Recreate" mode.

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hamster
spec:
replicas: 1

has anyone faced this issue before or is it a known behavior?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions