Skip to content

Conversation

@jacobtomlinson
Copy link
Member

@jacobtomlinson jacobtomlinson commented Aug 7, 2020

This PR adds a service account and role to the Jupyter pod which allows it to manage deployments and view pods and logs.

This is limited to the namespace that the Helm Chart is deployed in but allows users to scale their cluster and access worker logs from within the bundled Jupyter session. It is enabled by default but possible to disable.

This ties in with dask/dask-docker#112 which adds kubectl to the notebook image and dask/dask-kubernetes#255 which adds the HelmCluster clusater manager.

This change should result in both kubectl and HelmCluster working without configuration from the Jupyter session provided by this chart.

cc @gforsyth

Copy link

@gforsyth gforsyth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jacobtomlinson -- this looks great!

I tested locally with your changes in dask-kubernetes and I can connect and interact using HelmCluster

@jacobtomlinson
Copy link
Member Author

Awesome thanks for the review @gforsyth

@jacobtomlinson jacobtomlinson merged commit 29a0846 into dask:master Aug 7, 2020
@jacobtomlinson jacobtomlinson deleted the allow-jupyter-to-scale-workers branch August 7, 2020 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants