+++ This bug was initially created as a clone of Bug #2085326 +++ kube-state-metrics is tripping APIRemovedInNextEUSReleaseInUse in 4.10 clusters because it's watching poddisruptionbudgets.v1beta1.policy. How reproducible: always
tested with the PR#72, no APIRemovedInNextEUSReleaseInUse alert # token=`oc sa get-token prometheus-k8s -n openshift-monitoring` # oc -n openshift-monitoring exec -c prometheus prometheus-k8s-0 -- curl -k -H "Authorization: Bearer $token" 'https://thanos-querier.openshift-monitoring.svc:9091/api/v1/query?query=ALERTS' | jq '.data.result[].metric | {alertname,alertstate}' { "alertname": "AlertmanagerReceiversNotConfigured", "alertstate": "firing" } { "alertname": "Watchdog", "alertstate": "firing" }
*** Bug 2087378 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 (OpenShift Container Platform 4.10.16 bug fix 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/RHBA-2022:4754