Is it possible to add pod priority to hub and NB pods?

Is it possible to add pod priority to hub and nb pods? We have enabled spark from our NB pods. Recently our NB pods are getting killed despite of disabling the culling. It would be good if we could just add higher priority to NB pods so k8s will remove spark executors (due to low priority) rather than random pods NB pods.

I went through the helm chart and I found we can only enable pod priority for schedulers and placeholders.

Any help is appreciated. Thanks!

Sorry for late reply to this post. Should have added answer earlier but better late than never, right? Fixed this by creating and priorityclass. Hope it helps anyone facing similar problems.

1 Like