-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VPA wrongly determine container name? #7491
Comments
/area vertical-pod-autoscaler |
VPA doesn't adjust Deployments, it adjusts the Pods that are managed controllers. |
Here is a pod definition
|
Looks like the recommendations were applied to the Pod |
Do you have any other VPA objects on this cluster? |
How many containers are defined in the |
I've looked into this more, the only way I can reproduce it is as follows:
the VPA Updater now gives the same error you see, since the container doesn't exist for a recommendation that it has. |
We have one container in each of cert-manager deployments(cainjector, webhook and default cert-manager)
|
The error message you see is because the VPA object has 2 recommendations for that Deployment, one for "cert-manager" and one for "cert-manager-cainjector". I'm unsure how it got in this state, but the error message isn't harmful. We should possibly figure out a way to garbage collect this recommendation or to suppress the error |
vpa-autoscaler-updater pod can't adjust cert-manager deployment, there is an error:
1113 12:33:40.225140 1 capping.go:79] no matching Container found for recommendation cert-manager
vpa helm chart: 9.9.0
vpa.cert-manager:
cert-manager deployment:
vpa HR:
related to https://github.com/kubernetes/autoscaler/issues/6215
The text was updated successfully, but these errors were encountered: