The admin cluster should be upgradable from 1.23 to 1.24 because the performance issues are resolved.
The 1.24 to 1.25+ upgrade will be treated in separate task because several component needs to be upgraded before (to remove the usage of the PodSecurityPolicy object)
admin-blackbox-exporter-application-prometheus-blackbox-exporte-psp is a PSP not cleaned up after the removal of the admin-blackbox-exporter-application argocd application
admin-cluster-components-blackbox-exporter-psp is created by blackbox exporter
all the monitoring ones are related to the rancher prometheus deployement
The upgrade of the monitoring application to the last 102.0.1 removed the last PodSecurityPolicy objects that were declared on the cluster.
kubectl --context cluster-admin get podsecuritypoliciesWarning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+No resources found
2023-08-22T09:54:13Z ERROR controller-runtime.source if kind is a CRD, it should be installed before calling Start {"kind": "HorizontalPodAutoscaler.autoscaling", "error": "no matches for kind \"HorizontalPodAutoscaler\" in version \"autoscaling/v2beta2\""}sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1.1 /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/source/source.go:139k8s.io/apimachinery/pkg/util/wait.runConditionWithCrashProtectionWithContext /go/pkg/mod/k8s.io/apimachinery@v0.24.3/pkg/util/wait/wait.go:233k8s.io/apimachinery/pkg/util/wait.WaitForWithContext /go/pkg/mod/k8s.io/apimachinery@v0.24.3/pkg/util/wait/wait.go:660k8s.io/apimachinery/pkg/util/wait.poll /go/pkg/mod/k8s.io/apimachinery@v0.24.3/pkg/util/wait/wait.go:594k8s.io/apimachinery/pkg/util/wait.PollImmediateUntilWithContext /go/pkg/mod/k8s.io/apimachinery@v0.24.3/pkg/util/wait/wait.go:545sigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start.func1 /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/source/source.go:132
This is due to the deprecation of the v2beta2 version of the HorizontalPodAutoscaler
HorizontalPodAutoscaler
La version d'API bêta (autoscaling/v2beta1) de HorizontalPodAutoscaler n'est plus diffusée à partir de la version 1.25. Cette API a été rendue obsolète dans la version 1.23.
Effectuez une migration des fichiers manifestes et des clients API de sorte qu'ils utilisent la version autoscaling/v2 HorizontalPodAutoscaler de l'API.