kube-state-metrics
kube-state-metrics copied to clipboard
autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler
What happened: The following warning is seen when you run KSM on k8s v1.23+ cluster,
warning "autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler"
What you expected to happen: No warnings
How to reproduce it (as minimally and precisely as possible): Run KSM on k8s v1.23+ cluster
Anything else we need to know?:
IIUC, KSM supports up to (latest - 3) k8s versions. Probably KSM can start use autoscaling/v2 HorizontalPodAutoscaler
once k8s v1.25 goes GA.
Environment:
- kube-state-metrics version:
- Kubernetes version (use
kubectl version
): - Cloud provider or hardware configuration:
- Other info:
Reference: https://bugzilla.redhat.com/show_bug.cgi?id=2069543
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
- After 90d of inactivity,
lifecycle/stale
is applied - After 30d of inactivity since
lifecycle/stale
was applied,lifecycle/rotten
is applied - After 30d of inactivity since
lifecycle/rotten
was applied, the issue is closed
You can:
- Mark this issue or PR as fresh with
/remove-lifecycle stale
- Mark this issue or PR as rotten with
/lifecycle rotten
- Close this issue or PR with
/close
- Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale
k8s v1.25 have release and i think we can begin work for autoscaling/v2 HorizontalPodAutoscaler
.
/assign
Hello @liangyuanpeng do you plan to open a PR on this soon? If not I wouldn't mind help contributing for this issue :)