palantir/k8s-spark-scheduler

Compatibility with K8S 1.25

Opened this issue · 0 comments

spark-scheduler is using an an outdated version client-go which calls api/policy/v1beta1/PodDisruptionBudget. This is a breaking change in K8S 1.25, and stops the scheduler from functioning.

https://kubernetes.io/docs/reference/using-api/deprecation-guide/#poddisruptionbudget-v125

Here is what the scheduler logs look like

 kube-scheduler I0314 18:39:34.199516       1 reflector.go:160] Listing and watching *v1beta1.PodDisruptionBudget from k8s.io/client-go/informers/factory.go:133                       │
│ kube-scheduler E0314 18:39:34.201584       1 reflector.go:125] k8s.io/client-go/informers/factory.go:133: Failed to list *v1beta1.PodDisruptionBudget: the server could not find the  │
│ requested resource

I've created a #241 PR to fix this issue by bumping the K8S dependencies to work on 1.25 and above. I welcome any feedback or suggestions to get it merged.