kube-state-metrics is tripping APIRemovedInNextEUSReleaseInUse in 4.10 clusters because it's watching poddisruptionbudgets.v1beta1.policy. How reproducible: always
checked with 4.11.0-0.nightly-2022-05-11-054135, # oc -n openshift-monitoring get pod | grep kube-state-metrics kube-state-metrics-645b85779b-bqdzh 3/3 Running 0 23h # oc -n openshift-monitoring exec -c kube-state-metrics kube-state-metrics-645b85779b-bqdzh -- kube-state-metrics --version kube-state-metrics, version v2.4.2 (branch: rhaos-4.11-rhel-8, revision: da804f8) build user: root@620f48f25802 build date: 2022-05-10T12:11:02Z go version: go1.17.5 platform: linux/amd64 checked the alerts, the APIRemovedInNextEUSReleaseInUse is triggered by openshift-logging, not by kube-state-metrics, see the attached file
*** Bug 2079314 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069