Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
2.12.0 GA
-
False
-
None
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
Description
It is observed that the 3scale operator (Red Hat Integration - 3scale) version 0.9.0 available for OCP 4.x (I have tested with OCP 4.10.22) is using deprecated API e.g. poddisruptionbudgets.v1beta1.policy, Ideally ** the PodDisruptionBudget should be using policy/v1 instead policy/v1beta1.
For more details, Please refer to https://access.redhat.com/solutions/6967658 .
We can examine the APIRequestCount resource for a given API version to help identify which workloads are using the deprecated API.
Run the following command and examine the usernam* and userAgent fields to help identify the workloads that are using the deprecated API:
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.10.22 True False 21d Cluster version is 4.10.22
Check the API Request Counts for deprecated APIs using the following commands:
$ oc get apirequestcounts poddisruptionbudgets.v1beta1.policy -o yaml | grep name
name: poddisruptionbudgets.v1beta1.policy
username: system:serviceaccount:openshift-operators:3scale-operator
username: system:serviceaccount:openshift-operators:3scale-operator