Currently if we save a named server, the server doesn't remember the specified user options (like the profile and image used etc). Jupyterhub stores this information in user_options, so the data is available if Kubespawner makes use of it.
Proposed change
We should pass the user_options data into the profile selection form. There we could preselect the profile, image etc based on user_options if available. This will make sure that when a user restarts a named server, the options they choose when creating the server originally are preselected for them.
Who would use this feature?
Anyone who uses the named server feature. And this would also help us support this feature in jupyterhub-fancy-profiles and on NASA VEDA Jupyterhub instances by extension.
Currently if we save a named server, the server doesn't remember the specified user options (like the profile and image used etc). Jupyterhub stores this information in user_options, so the data is available if Kubespawner makes use of it.
Proposed change
We should pass the
user_optionsdata into the profile selection form. There we could preselect the profile, image etc based onuser_optionsif available. This will make sure that when a user restarts a named server, the options they choose when creating the server originally are preselected for them.Who would use this feature?
Anyone who uses the named server feature. And this would also help us support this feature in jupyterhub-fancy-profiles and on NASA VEDA Jupyterhub instances by extension.