Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Drive the top profile menu by an arbitrary profile name instead of image #27

Open
erikerlandson opened this issue Apr 8, 2020 · 0 comments

Comments

@erikerlandson
Copy link

Currently, the main profile menu at the top of the spawner is driven by container images it finds out on the cluster. This works reasonably well but it has a couple disadvantages.

  1. it isn't intuitive for users to conceptualize the profiles by image
  2. in order to provide users with multiple options, I had to create several container images that were all identical except for the name, so that I could "hang" different spark size profiles (and env vars, etc) from them.

I believe a cleaner organization would be to simply declare the profiles in the configmap by a name (for example, "Jupyter with Large Spark Cluster"), and then the actual jupyter image is just another property of the profile, it isn't driving the menu choices per se. For example in this scheme, I would generate a single cusomized jupyter image, and it would be the same value under all the profiles. The profiles would differ only in terms of the configuration of spark cluster size (or other service configurations, etc).

LaVLaS added a commit to LaVLaS/jupyterhub-singleuser-profiles that referenced this issue Jul 20, 2021
…v1.0.17

Cherry pick of upstream commits for v1.0.17 release
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant