max_clusters
See original GitHub issueHello, @jcrist.
Unless I’m missing something (which is very possible), or it was renamed, it looks like the max_clusters
option was removed during the re-architecture. There’s no reference to it in the latest docs or source.
Are there any plans to reintroduce it?
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
MaxCluster - A tool for Protein Structure Comparison and ...
MaxCluster is a command-line tool for the comparison of protein structures. It provides a simple interface for a large number of common structure...
Read more >MaxCluster - bio.tools
Command-line tool for the comparison of protein structures. It provides a simple interface for a large number of common structure comparison tasks.
Read more >PROC FASTCLUS Statement - SAS Help Center
The PROC FASTCLUS statement invokes the FASTCLUS procedure. You must specify the MAXCLUSTERS= option or RADIUS= option or both in the PROC FASTCLUS...
Read more >Managed e-commerce hosting - maxcluster
Managed web cluster for online shops, agencies and e-commerce applications. ✓ High performance ✓ Scalable ✓ 24/7/365 support.
Read more >Maxcluster - Crunchbase Company Profile & Funding
Maxcluster is a platform that focuses on the development of web applications for online shops and eCommerce platforms.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There’s some tricky aspects to this, especially from the k8s side. I’m hoping to have time to work on it sometime soon (rather busy with work right now), but no promises. I’d be happy if you wanted to give it a go, just know it’s much less straightforward than the per-cluster limits implementation.
This is correct. Since dask-gateway doesn’t maintain a users table (a cluster has a user as metadata, but there is no table of users maintained by dask-gateway), I don’t think user-management things like this belong in dask-gateway. We could add some hooks to make it work, but they might not support all things you’d like to do. There’s also no way for dask-gateway to know it can delete the namespace, so any cleanups you’d want would have to be external to dask-gateway.
If you’re using JupyterHub, I’d do this by implementing the
add_user
hook in the JupyterHub authenticator (https://github.com/jupyterhub/jupyterhub/blob/21eaf0dd9f76c9eed1757280b90e580218db9f58/jupyterhub/auth.py#L588). This gets called once for every new user (also called on hub-restart, so it would need to debounce), and could create a namespace or any other resources needed for that user. This is nice in that it happens once external to dask-gateway, so the namespace check wouldn’t need to happen when creating each cluster. There’s also adelete_user
method to delete the namespace/other-stuff, so cleanup could happen all within JupyterHub.To summarize, two options (as I see them):
I’d prefer you use the first one if possible (less stuff for dask-gateway to do), but the latter is also fine.