-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
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?