[VPA] controlledResources
field dropped from containerPolicy
#3800
Labels
controlledResources
field dropped from containerPolicy
#3800
Which component are you using?:
vertical-pod-autoscaler
What version of the component are you using?:
Component version: 0.9.0
What k8s version are you using (
kubectl version
)?:kubectl version
OutputWhat environment is this in?:
EKS and Minikube.
What did you expect to happen?:
When using
controlledResources
as part of acontainerPolicy
, we expect to see the VPA only consider the resources referred to in the controlledResources property.What happened instead?:
What we see instead is the
controlledResources
property disappears from the VPA resource at some point, and so the VPA falls back to considering CPU and memory.How to reproduce it (as minimally and precisely as possible):
We've managed to reproduce this locally in fresh minikube installation and on one of our EKS clusters running the following:
Resulting VPA Resource:
Note the
last-applied-update
does include thecontrolledResources
, however thecontainerPolicy
no longer lists thecontrolledResources
property.Anything else we need to know?:
This happens on a completely clean minikube installation:
$ minikube version minikube version: v1.14.2 commit: 2c82918e2347188e21c4e44c8056fc80408bce1 $ minikube start $ minikube addons enable metrics-server $ ./test-case.sh
And on a fairly standard EKS cluster. (versions noted above).
The text was updated successfully, but these errors were encountered: