Bug 1999446 - Pending deprecation API version for HPA in kube-state-metrics
Summary: Pending deprecation API version for HPA in kube-state-metrics
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Philip Gough
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-31 08:04 UTC by Junqi Zhao
Modified: 2021-09-13 15:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-03 10:01:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
kube-state-metrics logs (33.30 KB, text/plain)
2021-08-31 08:04 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubernetes kube-state-metrics pull 1565 0 None None None 2021-09-02 08:26:03 UTC

Description Junqi Zhao 2021-08-31 08:04:41 UTC
Created attachment 1819291 [details]
kube-state-metrics logs

Description of problem:
# oc -n openshift-monitoring logs $(oc -n openshift-monitoring get po | grep kube-state-metrics | awk '{print $1}') -c kube-state-metrics | grep deprecated | head -n 6
W0830 23:52:53.811617       1 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
W0830 23:52:53.870007       1 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob
W0830 23:52:53.870556       1 warnings.go:70] autoscaling/v2beta1 HorizontalPodAutoscaler is deprecated in v1.22+, unavailable in v1.25+; use autoscaling/v2beta2 HorizontalPodAutoscaler
W0830 23:52:53.871865       1 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
W0830 23:52:54.233105       1 warnings.go:70] autoscaling/v2beta1 HorizontalPodAutoscaler is deprecated in v1.22+, unavailable in v1.25+; use autoscaling/v2beta2 HorizontalPodAutoscaler
W0830 23:52:54.233715       1 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget

HorizontalPodAutoscaler version from cluster
# oc explain HorizontalPodAutoscaler
KIND:     HorizontalPodAutoscaler
VERSION:  autoscaling/v1

CronJob/PodDisruptionBudget bug is reported in bug 1961081

Version-Release number of selected component (if applicable):
4.9.0-0.nightly-2021-08-30-192239

How reproducible:
always

Steps to Reproduce:
1. check kube-state-metrics logs
2.
3.

Actual results:


Expected results:


Additional info:


Note You need to log in before you can comment on or make changes to this bug.