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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions basehub/values.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jupyterhub:
contactEmail: [email protected]
singleuser:
image:
name: ghcr.io/aiidalab/qe
tag: amd64-v24.10.0a0
name: superstar54
tag: qe-tar-home-z
pullPolicy: Always
cmd:
- start-singleuser.sh
Expand Down Expand Up @@ -59,6 +59,15 @@ jupyterhub:
default_url: /lab
environment:
JUPYTERHUB_SINGLEUSER_APP: jupyter_server.serverapp.ServerApp
lifecycleHooks:
postStart:
exec:
command:
- "sh"
- "-c"
- >
tar -zxf /tmp/home.tar -C /home/jovyan

hub:
db:
pvc:
Expand Down
1 change: 1 addition & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ helm dependency build basehub 2> /dev/null || echo "No dependencies to update or
# JupyterHub
helm upgrade \
--install \
--timeout 600s \
--cleanup-on-fail \
--create-namespace --namespace=${K8S_NAMESPACE} \
${K8S_NAMESPACE} basehub
Loading