Closed Ramneek-kalra closed 4 months ago
Related PR: https://github.com/kubernetes/autoscaler/pull/6665 which caused this breaking.
Hey @Ramneek-kalra thanks for your issue! you're mentioning that you're using registry.k8s.io/autoscaling/vpa-admission-controller:1.1.2
– this version does not contain the PR you mentioned. This was just merged yesterday and was not released in any image published on the k8s registry.
So the error that you're seeing means: you're trying to use a feature flag which has been merged to the code, but is not published in a new VPA version yet. You will have to wait for VPA 1.2.0 to be released so you can use the feature.
Hope that helps to clear things up!
/close /remove-kind bug /kind support
@voelzmo: Closing this issue.
Thanks @voelzmo for your update! This helps. However, please be sure that I didn't install anything additional other than what we have on installation steps. So a review is required.
Do we have any ETA for that release?
Hey @Ramneek-kalra I'm not sure what kind of review you're suggesting, can you help me understand this a bit better?
Regarding the ETA for a new VPA release: this recently came up in a different thread as well, we don't have a fixed timeline for a release before the next k8s version, but hopefully can cut a release in the next few weeks – no promises, though as this depends on the availability of individual people: https://github.com/kubernetes/autoscaler/pull/6625#issuecomment-2183114512
Hi @voelzmo , Sorry for not so elaborative.
I am asking you to review the installation steps - https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler#install-command as this landed me to use that feature-flag automatically and use-merged code which shouldn't be the case as many customers might face this issue then.
And Thanks for ETA Update.
Having never installed VPA on this cluster, I just ran face-first into this following the install documentation.
/reopen
Sorry, I didn't understand the part about the installation instructions, but now I see that the admission-controller deployment is specifying image version 1.1.2 and at the same time has this parameter configured. Thanks for being persistent about this!
@voelzmo: Reopened this issue.
/remove-kind support /kind bug
Which component are you using?: vertical-pod-autoscaler
What version of the component are you using?: registry.k8s.io/autoscaling/vpa-admission-controller:1.1.2
Component version: registry.k8s.io/autoscaling/vpa-admission-controller:1.1.2 (installed via steps shared at: https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler#install-command
What k8s version are you using (
kubectl version
)?:kubectl version
OutputWhat environment is this in?: Amazon EKS Version 1.29
What did you expect to happen?: Expected to have "vpa-admission-controller" in RUNNING State.
What happened instead?: "vpa-admission-controller" went into CrashLoopBackOff with below logs:
➜ vertical-pod-autoscaler git:(master) kubectl logs -n kube-system vpa-admission-controller-7cb49b77d6-v557v
How to reproduce it (as minimally and precisely as possible): Just follow installation shared at: https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler#install-command or https://docs.aws.amazon.com/eks/latest/userguide/vertical-pod-autoscaler.html
Anything else we need to know?: Found that this feature was added yesterday itself via PR: https://github.com/kubernetes/autoscaler/pull/6665 which is breaking things.
As a workaround, I did remove the flag "--reload-cert" from: https://github.com/kubernetes/autoscaler/blob/master/vertical-pod-autoscaler/deploy/admission-controller-deployment.yaml which sorted out things, however not a permanent fix if certificate-reload issue comes.