Kube State Metrics unable to find v2beta2.HorizontalPodAutoscaler #2517
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened:
Kube State Metrics logs an error every second about not being able to find v2beta2.HorizontalPodAutoscaler.
What you expected to happen:
I expect Kube State Metrics to not try and list a depreciated api version.
We are currently not even using any HPA
How to reproduce it (as minimally and precisely as possible):
Not really feasible to repo but this is how we got here.
Have kube running in azure with a version before 1.27.
Add HPA annotation to a pod.
later on remove HPA annotation from pods since we didn't really need it.
Update to version 1.27.9
Anything else we need to know?:
Environment:
kube-state-metrics version:
docker.io/bitnami/kube-state-metrics:2.5.0-debian-11-r3
Kubernetes version (use
kubectl version
):The text was updated successfully, but these errors were encountered: