-
-
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
Support for worker pods with extra containers #320
Comments
Thanks for raising this @zdog234. That sounds like something we should fix. We set the container name to dask-kubernetes/dask_kubernetes/objects.py Line 152 in 634114a
So I guess we could add dask-kubernetes/dask_kubernetes/core.py Lines 108 to 110 in 634114a
I think the scheduler's container is also called |
Hmm I think the quickstart docs set it to However, because it's configurable, I'd be a bit worried about hard-coding it in case someone changed the container name for some reason. I don't know why someone would, so maybe it is okay to just hard-code it, or hard-code it but let users override it somewhere. Sorry if that's poorly written; I just woke up. I can try to clarify later |
Hrm good point. Perhaps in |
The classic |
In one of the clusters that I work with, every pod is created with an additional proxy container, which messes up
read_namespaced_pod_log
because I get a "container name must be provided" error.Would it be possible to infer the name of the worker container from the worker template and pass
container=container_name
? (Or, if that's too tricky, allow users to pass that in as a kwarg somewhere?)Thanks :)
Also, if either of those options is feasible + worth adding, I'm down to try writing a PR
The text was updated successfully, but these errors were encountered: