Check whether there are discarded resources in the clusters.
Scenario 1: The PodSecurityPolicy resource object has been discarded since clusters of v1.25.
Run the kubectl get psp -A command in the cluster to obtain the existing PSP object.
If these two objects are not used, skip the check. Otherwise, upgrade the corresponding functions to PodSecurity by referring to Pod Security.
Scenario 2: The discarded annotation (tolerate-unready-endpoints) exists in Services in clusters of 1.25 or later.
Check whether the Service in the log information contains the annotation tolerate-unready-endpoints. If yes, delete the annotation and add the following field to the spec of the corresponding Service to replace the annotation:
publishNotReadyAddresses: true