Skip to content
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

Using quick startup image #21

Open
wants to merge 5 commits into
base: staging
Choose a base branch
from
Open

Using quick startup image #21

wants to merge 5 commits into from

Conversation

unkcpz
Copy link
Member

@unkcpz unkcpz commented Jun 19, 2024

I fallback the staging branch and move @superstar54's changes as PRs.
I did a check on the Azure k8s and think the problem that deployment failed is because of the setting of image name.

It was trying to pull superstar54:qe-tar-home-z, and it should pull superstar54/qe-tar-home-z:latest. I'll test it.

When the user launches the container, a lot of time is spent on preparing the environment, setting up codes, pseudopotentials, etc. In order to reduce the launch time of the container, we tar already prepared home directory and keep it in the image, and then untar it when the container is launched. This way, the user can start working with the container immediately.
A simple way to populate the notebook user’s home directory is to add the required files to the container’s /tmp directory and then copy them to /home/jovyan using a postStart hook.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants