Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

SUBMARINE-1126. Let Jupyter Notebook save user setting after pod restarted. #834

Closed
wants to merge 1 commit into from

Conversation

cdmikechen
Copy link
Contributor

@cdmikechen cdmikechen commented Dec 16, 2021

What is this PR for?

Jupyter Notebook have created a workspace volume /home/jovyan/workspace , but the user settings are saved in /home/jovyan/.jupyter/lab/user-settings/@jupyterlab/.
So that after pod restart, submarine will lost user settings. I think we should add a new volume to save user settings in /home/jovyan/.jupyter/.

What type of PR is it?

Improvement

Todos

  • - Add a new PVC named notebook-pvc-user-* when creating notebook pod CRD

What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-1126

How should this be tested?

There are no new test cases right now.

Screenshots (if appropriate)

image

Questions:

  • Do the license files need updating? No
  • Are there breaking changes for older versions? No
  • Does this need new documentation? Maybe No

Copy link
Member

@KUAN-HSUN-LI KUAN-HSUN-LI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @jeff-901 Can you also take a look? Maybe we can also save the experimentId into the PVC?

Copy link
Member

@pingsutw pingsutw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@asfgit asfgit closed this in a0f5a49 Dec 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants