-
Notifications
You must be signed in to change notification settings - Fork 88
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
Allow customized Dask Cluster Name #542
Comments
I just went through this. There doesn't seem to be an easy way to customize the cluster at all per user. I implemented my own backend and overrode start_cluster. We do other things here like set the run as uid and make user specific mounts. I'm a little surprised this wasn't stock functionality but it wasn't too difficult to implement.
|
@jabbera How to make server use custom MyKubeBackend? Thanks. |
I built a custom docker image. |
Thanks. I think it is also possible to use extensions. |
Even though I think there are good reasons to not have this option, I think in some cases it may be useful to override that. I can make a PR to allow custom names. Would be good if we can some feedback from maintainers? |
Thank you for asking @tasansal!! I'm low on capacity and know other maintainers are as well, so for a non-essential feature that adds complexity and could be a breaking change during a transition period when changing naming patterns etc, I'd rather not see a PR opened. I've wanted this myself at one point, but I've seen a lot of complexity arise from similar changes in other projects involving escaping names to meet restrictions on k8s resource names. I don't think its a complexity investment the projects maintenance capacity can afford. |
Is that possible to reset the Dask Cluster Name so that users can potentially prefix their own cluster with their username? This seems useful in a multi-tenant environment. When using simple authentication, it provides a quick way for users to know which cluster they can reconnect to, esp in the situation when their client (notebook) is restarted but the Dask cluster is still in progress.
The code here indicates the cluster name is not settable. Not sure if there's any workaround with this?
The text was updated successfully, but these errors were encountered: