OCP dashboard reports warnings about deprecated APIs
Applies to
- RedHat OpenShift Container Platform (OCP) 4.10
- NetApp Astra Trident 22.04
- PodSecurityPolicy (PSP)
Issue
OCP dashboard warns about the following warnings:
Deprecated API that will be removed in the next EUS version is being used. Removing the workload that is using the batch.v1beta1/cronjobs API might be necessary for a successful upgrade to the next EUS cluster version.
Refer to `oc get apirequestcounts cronjobs.v1beta1.batch -o yaml` to identify the workload.
The PodSecurityPolicy API is deprecated since OCP 4.8 (Kubernetes v1.21) and will be removed in a future OCP version (Kubernetes v1.25). The OpenShift cluster load also increases disproportionately when PodSecurityPolicies are used.