-
-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Env vars not expanded for scheduler service #261
Comments
Thanks for raising this @mcguipat. Do you feel you could raise a PR to fix this? |
I think there is probably a simple fix just wrapping the template in the |
@mcguipat I have no preference. It is down to you and how much time you are willing to spend on it. |
The scheduler service generally is something that feels quite jammed in. As far as I can tell, there is not actually another way to manually configure a template outside of through |
The classic |
In
dask_kubernetes/core.py
, the templates for the worker and the scheduler have environment variables expanded when loading configured templates; however, thescheduler-service-template
does not. At present, I currently specifyownerReferences
on the scheduler and workers with the originating pod (via environment variables set using the k8s downward api). In the event the originating pod goes down. Any dangling resources can be cleaned up automatically; however, the scheduler cannot in this case.The text was updated successfully, but these errors were encountered: