Skip to content
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

HPA & EPS compatibility mess #2028

Closed
rbjorklin opened this issue Mar 15, 2023 · 2 comments
Closed

HPA & EPS compatibility mess #2028

rbjorklin opened this issue Mar 15, 2023 · 2 comments
Labels
kind/support Categorizes issue or PR as a support question. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@rbjorklin
Copy link

What happened: kube_horizontalpodautoscaler* metrics stopped being available.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):
We recently upgraded to KSM 2.8.1 to get access to the EndpointSlice metrics introduced in #1910 (required k8s version: 1.22)
Unfortunately HPA's were moved to v2 in #1906 which graduated to GA in k8s 1.23.

What this means is if you are on k8s 1.22 or earlier you cannot have both HPA metrics and EPS metrics at the same time. If this is intended it would be great if this information could be made more apparent in the README.

Anything else we need to know?:

Environment:

  • kube-state-metrics version: 2.8.1
  • Kubernetes version (use kubectl version): 1.22.11
  • Cloud provider or hardware configuration:
  • Other info:
@rbjorklin rbjorklin added the kind/bug Categorizes issue or PR as related to a bug. label Mar 15, 2023
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Mar 15, 2023
@dgrisonnet dgrisonnet added kind/support Categorizes issue or PR as a support question. and removed kind/bug Categorizes issue or PR as related to a bug. labels Mar 16, 2023
@dgrisonnet
Copy link
Member

Please refer to our compatibility matrix: https://github.com/kubernetes/kube-state-metrics#compatibility-matrix.

kube-state-metrics v2.8.1 is not meant to be compatible with k8s 1.22. The only compatible version that is still supported would be v2.4.2.

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 16, 2023
@k8s-triage-robot
Copy link

This issue has not been updated in over 1 year, and should be re-triaged.

You can:

  • Confirm that this issue is still relevant with /triage accepted (org members only)
  • Close this issue with /close

For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/

/remove-triage accepted

@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. and removed triage/accepted Indicates an issue or PR is ready to be actively worked on. labels Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

4 participants