OCP信息板报告有关已弃用API的警告
适用场景
- RedHat OpenShift容器平台(OCP) 4.10
- NetApp Astra三端存储22.04.
- PodSecurityPolicy (PSP)
问题描述
OCP信息板会针对以下警告发出警告:
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.