-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Breaking changes in 2.7.0 with hpa metrics and Kubernetes 1.22 #1946
Comments
Confirm this issue, k8s-1.22, prometheus-operator-kube-state-metrics-2.7.0 logs:
so for 1.22 the proper kube-state-metrics version is 2.6.0 p.s. and the maximum compatible chart of |
I assume v2beta2 support got dropped and v2 got introduced in v1.23 (https://kubernetes.io/blog/2021/12/07/kubernetes-1-23-release-announcement/#horizontalpodautoscaler-v2-graduates-to-ga). See: #1906 https://github.com/kubernetes/kube-state-metrics#compatibility-matrix Since kubernetes 1.22 has already reached EOL upstream (https://kubernetes.io/releases/patch-releases/#non-active-branch-history), I would suggest to upgrade your clusters. |
Agree on upgrading, but worth mentioning a lot of people running in the cloud, in particular in aws/eks, where EOLs lagging behind by ~2 upstream versions, i.e. 1.22 is EOL in 3 months and released just 9 months ago |
I can see your point, and you might want to talk to your public cloud provider to help out here. |
/triage accepted |
This issue has not been updated in over 1 year, and should be re-triaged. You can:
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/ /remove-triage accepted |
1.22 is ancient at this point, so this probably isn't relevant anymore /close |
@dashpole: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
After merge #1906 hpa metrics can't collect from Kubernetes 1.22.
Kube-state-metrics logs tells that object *v2 HorizontalPodAutoscaler is undefined.
If it's expected behavior, then I guess need some note in release notes that minimal support k8s version is 1.23.
The text was updated successfully, but these errors were encountered: