Description of problem: Users looking to ensure that they can safely upgrade to v4.9 have no indication when using the APIRequestCount API that the kubedeschedulers.v1beta1.operator.openshift.io API will no longer be available upon upgrading.
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.10.0-0.nightly-2021-09-19-162254 True False 22h Cluster version is 4.10.0-0.nightly-2021-09-19-162254 Check some depreciated apis as mentioned in PR list. oc get apirequestcount|grep 1.25 cronjobs.v1beta1.batch 1.25 2 177 endpointslices.v1beta1.discovery.k8s.io 1.25 1 2 poddisruptionbudgets.v1beta1.policy 1.25 2 178 podsecuritypolicies.v1beta1.policy 1.25 2 196 oc get podsecuritypolicies.v1beta1.policy W0921 09:40:16.468942 23405 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ oc get poddisruptionbudgets.v1beta1.policy W0921 09:39:06.495478 23400 warnings.go:70] policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget oc get cronjobs.v1beta1.batch W0921 09:32:38.075834 23369 warnings.go:70] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob oc get endpointslices.v1beta1.discovery.k8s.io W0921 09:33:23.599628 23376 warnings.go:70] discovery.k8s.io/v1beta1 EndpointSlice is deprecated in v1.21+, unavailable in v1.25+; use discovery.k8s.io/v1 EndpointSlice
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 (Moderate: OpenShift Container Platform 4.10.3 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:0056