Skip to content
Snippets Groups Projects
Commit 4e85e13b authored by Dung Vu's avatar Dung Vu
Browse files

Update my_spawner.py

parent 48c4c2fc
No related branches found
No related tags found
No related merge requests found
Pipeline #32435 passed
...@@ -77,6 +77,28 @@ class MySpawner(KubeSpawner): ...@@ -77,6 +77,28 @@ class MySpawner(KubeSpawner):
{ {
'display_name': 'Nrp-Stack Minimal', 'display_name': 'Nrp-Stack Minimal',
}, },
{
'display_name': 'Nrp-Stack Desktop',
'kubespawner_override': {
# 'image': 'localhost:30081/prp/jupyter-stack/5g-desktop:ab90e952',
# 'image': 'localhost:30081/prp/jupyter-stack/prism-desktop:0addcd15',
'image': 'localhost:30081/prp/jupyter-stack/desktop:ab90e952',
# 'image': 'localhost:30081/prp/jupyter-stack/relion-desktop',
'lifecycle_hooks': {
'postStart': {
'exec': {
'command': [
'sh',
'-c',
'mkdir -p /home/jovyan/Desktop && cp /home/jovyan/shared/.software/desktopInit.desktop /home/jovyan/Desktop/ || true'
]
}
}
}
}
},
{ {
'display_name': 'Nrp-Stack Desktop - Visual Code, mutiple Apps', 'display_name': 'Nrp-Stack Desktop - Visual Code, mutiple Apps',
'kubespawner_override': { 'kubespawner_override': {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment