Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2005182

Summary: sync list of deprecated apis about to be removed
Product: OpenShift Container Platform Reporter: Luis Sanchez <sanchezl>
Component: kube-apiserverAssignee: Luis Sanchez <sanchezl>
Status: CLOSED ERRATA QA Contact: Rahul Gangwar <rgangwar>
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: aos-bugs, mfojtik, rgangwar, wking, xxia
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:11:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luis Sanchez 2021-09-17 03:34:46 UTC
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.

Comment 2 Rahul Gangwar 2021-09-21 04:21:08 UTC
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

Comment 5 errata-xmlrpc 2022-03-10 16:11:32 UTC
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