-
Notifications
You must be signed in to change notification settings - Fork 10
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
(re)Starting K8s cluster with lab charts resets Jupyter Token #179
Comments
Agree, it would be good for this token to be stable once the chart is deployed. The Jupyter token is generated at startup if it does not exist. When the password is generated Jupyter adds it into a file in the ~/.jupyter directory called jupyter_notebook_config.py This directory is not persisted in the current deployment, so the next time Jupyter starts the same thing happens. Possible fixes include
Ideally both probably make sense. There are also other authentication related settings, and general jupyer settings, so possibly an option to specify other overriding values could be useful, though more complex as they'd need to be merged in. |
One additional thought to consider is that Jupyter allows a user defined password to be created using the token - perhaps we should do that to make it easier for users to login? |
Yes - that's what I'm suggesting in the previous entry (second bullet) :-) |
Signed-off-by: Nigel Jones <nigel.l.jones+git@gmail.com>
#179 add option to set password for jupyter
Experimenting with the new approach to starting Jupyter in the development version of the Egeria-lab charts I found that each time the k8s cluster restarts, a new token is generated (and would thus have to be conveyed to users). This may be inconvenient for demo and non-developer usage. Suggest further investigation and discussion on Jupyter Server authentication approaches?
The text was updated successfully, but these errors were encountered: