Doc unclear on actual usage scenarios that will work
See original GitHub issueI’ve been trying to use Dask-kubernetes to have a local Jupyter notebook on my laptop and run the Dask workers run on a Google Cloud Kubernetes cluster. I’ve been struggling a bit with the doc to figure out if this is supported, and how to do this, although it may not help that I’m learning Kubernetes at the same time. Then I found this https://github.com/dask/dask-kubernetes/issues/58#issuecomment-377811223 , which made everything a lot clearer: “It [Dask-kubernetes] is designed to be run from a pod on a Kubernetes cluster that has permissions to launch other pods.”
So this issue is about clarifying the doc, to help people like me in the future. I’m willing to do the pull request, but we should probably figure out if my understand is accurate first. On top of something like the above sentence (on the doc, and KubeCluster
docstring), here are the things that would have been useful for me to have the doc clarify:
- kubectl doesn’t need to be installed (because the Kubernetes Python API is used directly)… pretty sure this is true also…?
- If .kube/config is configured correctly to be able to launch pods, it will be used, and workers will be launched on the default context. (Is that correct? If yes, it would allow the use case I’m looking for. If not, is there a way to influence the Kubernetes cluster used by Dask-kubernetes?)
If the second bullet is supported, it would also be nice to be able to specify a Kubernetes context other than the default, but that should probably be a separate issue…
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top GitHub Comments
Medium-term we might want to move the scheduler to a separate Pod to better improve situations like these
On Thu, Jul 5, 2018 at 12:10 PM, Jacob Tomlinson notifications@github.com wrote:
Thanks for the merge. I’ve opened #84 about spawning the Dask scheduler on a separate pod, and #85 also for a more explicit way to specify the Kubernetes cluster. I’d be open to help with those, but I would probably need some guidance. But we can continue the discussion in those other issues. Thanks again!