LibreTexts / metalc

LibreTexts/UCDavis bare-metal Kubernetes cluster running JupyterHub and Binder
http://jupyter.libretexts.org
MIT License
14 stars 1 forks source link

Use kubespawner profiles for different hardware access #246

Open sandertyu opened 2 years ago

sandertyu commented 2 years ago

We can use kubespawner to create different profiles on the Jhub for users that need gpu access, or more cpu requirements, etc. We can set these up through the config files, and the first profile we want to add is one that simply spawns directly into rstudio. We will also want to add a profile later with alphafold and elevated resource permissions.

TimStewartJ commented 2 years ago

I've managed to create a profile that spawns directly into rstudio. This is visible on https://staging.jupyter.libretexts.org. The configuration option for this was default_url under kubespawner_override.

TimStewartJ commented 2 years ago

Profiles with higher memory and cpu limits have been set up and verified to be funcitonal on staging jhub. Now we just need to figure out how to add GPU profiels when the time comes for that.