Failed to watch *v2beta2.HorizontalPodAutoscaler

Bug #2004059 reported by Chris Johnston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CDK Addons
Triaged
Medium
Unassigned

Bug Description

kube-state-metrics as included in cdk-addons 1.26/stable is reporting the following:

E0127 23:59:30.644670 1 reflector.go:138] <email address hidden>/tools/cache/reflector.go:167: Failed to watch *v2beta2.HorizontalPodAutoscaler: failed to list *v2beta2.HorizontalPodAutoscaler: the server could not find the requested resource
W0128 00:00:19.636415 1 reflector.go:324] <email address hidden>/tools/cache/reflector.go:167: failed to list *v2beta2.HorizontalPodAutoscaler: the server could not find the requested resource
E0128 00:00:19.636442 1 reflector.go:138] <email address hidden>/tools/cache/reflector.go:167: Failed to watch *v2beta2.HorizontalPodAutoscaler: failed to list *v2beta2.HorizontalPodAutoscaler: the server could not find the requested resource

It appears as though v2beta2 was removed in the k8s 1.26 release [1].

I believe this may be fixed by this PR [2], which seems to have been included in 2.7.0.

[1] https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-26
[2] https://github.com/kubernetes/kube-state-metrics/pull/1906
[3] https://github.com/kubernetes/kube-state-metrics/releases/tag/v2.7.0

George Kraft (cynerva)
Changed in cdk-addons:
importance: Undecided → Medium
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.