-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1255 from uc-cdis/feat/qa-heal-workspaces
Feat/qa heal workspaces
- Loading branch information
Showing
2 changed files
with
146 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
{ | ||
"user-namespace": "jupyter-pods-qa-heal", | ||
"sub-dir": "/lw-workspace", | ||
"user-volume-size": "10Gi", | ||
"sidecar": { | ||
"cpu-limit": "1.0", | ||
"memory-limit": "256Mi", | ||
"image": "quay.io/cdis/gen3fuse-sidecar:2021.03", | ||
"env": { | ||
"NAMESPACE": "qa-heal", | ||
"HOSTNAME": "qa-heal.planx-pla.net" | ||
}, | ||
"args": [], | ||
"command": [ | ||
"/bin/bash", | ||
"/sidecarDockerrun.sh" | ||
], | ||
"lifecycle-pre-stop": [ | ||
"su", | ||
"-c", | ||
"echo test", | ||
"-s", | ||
"/bin/sh", | ||
"root" | ||
] | ||
}, | ||
"containers": [ | ||
{ | ||
"target-port": 8787, | ||
"cpu-limit": "1.0", | ||
"memory-limit": "512Mi", | ||
"name": "R Studio", | ||
"image": "heliumdatastage/rstudio-server:1", | ||
"env": { | ||
"DISABLE_AUTH": "true" | ||
}, | ||
"args": [], | ||
"path-rewrite": "/", | ||
"use-tls": "false", | ||
"ready-probe": "/" | ||
}, | ||
{ | ||
"target-port": 8888, | ||
"cpu-limit": "1.0", | ||
"memory-limit": "512Mi", | ||
"name": "Jupyter Notebook Bio Python", | ||
"image": "quay.io/occ_data/jupyternotebook:1.9.0", | ||
"env": {}, | ||
"args": [ | ||
"--NotebookApp.base_url=/lw-workspace/proxy/", | ||
"--NotebookApp.password=''", | ||
"--NotebookApp.token=''", | ||
"--NotebookApp.notebook_dir='/home/jovyan/pd'", | ||
"--NotebookApp.quit_button=False" | ||
], | ||
"command": [ | ||
"start-notebook.sh" | ||
], | ||
"path-rewrite": "/lw-workspace/proxy/", | ||
"use-tls": "false", | ||
"ready-probe": "/lw-workspace/proxy/", | ||
"lifecycle-post-start": [ | ||
"/bin/sh", | ||
"-c", | ||
"export IAM=`whoami`; rm -rf /home/$IAM/pd/dockerHome; ln -s $(pwd) /home/$IAM/pd/dockerHome; mkdir -p /home/$IAM/.jupyter/custom; echo \"define(['base/js/namespace'], function(Jupyter){Jupyter._target = '_self';})\" >/home/$IAM/.jupyter/custom/custom.js; ln -s /data /home/$IAM/pd/; true" | ||
], | ||
"user-uid": 1000, | ||
"fs-gid": 100, | ||
"user-volume-location": "/home/jovyan/pd" | ||
}, | ||
{ | ||
"target-port": 8888, | ||
"cpu-limit": "1.0", | ||
"memory-limit": "8192Mi", | ||
"name": "Jupyter Notebook Power Python", | ||
"image": "quay.io/occ_data/jupyternotebook:1.7.2", | ||
"env": {}, | ||
"args": [ | ||
"--NotebookApp.base_url=/lw-workspace/proxy/", | ||
"--NotebookApp.password=''", | ||
"--NotebookApp.token=''", | ||
"--NotebookApp.notebook_dir='/home/jovyan/pd'", | ||
"--NotebookApp.quit_button=False" | ||
], | ||
"command": [ | ||
"start-notebook.sh" | ||
], | ||
"path-rewrite": "/lw-workspace/proxy/", | ||
"use-tls": "false", | ||
"ready-probe": "/lw-workspace/proxy/", | ||
"lifecycle-post-start": [ | ||
"/bin/sh", | ||
"-c", | ||
"export IAM=`whoami`; rm -rf /home/$IAM/pd/dockerHome; ln -s $(pwd) /home/$IAM/pd/dockerHome; mkdir -p /home/$IAM/.jupyter/custom; echo \"define(['base/js/namespace'], function(Jupyter){Jupyter._target = '_self';})\" >/home/$IAM/.jupyter/custom/custom.js; ln -s /data /home/$IAM/pd/; true" | ||
], | ||
"user-uid": 1000, | ||
"fs-gid": 100, | ||
"user-volume-location": "/home/jovyan/pd" | ||
}, | ||
{ | ||
"target-port": 8888, | ||
"cpu-limit": "1.0", | ||
"memory-limit": "8096Mi", | ||
"name": "Helium Autoencoder Demo", | ||
"image": "quay.io/cdis/auntoencoder-copd-demo:latest", | ||
"env": {}, | ||
"args": [ | ||
"--NotebookApp.base_url=/lw-workspace/proxy/", | ||
"--NotebookApp.password=''", | ||
"--NotebookApp.token=''", | ||
"--NotebookApp.notebook_dir='/home/jovyan/pd'", | ||
"--NotebookApp.quit_button=False" | ||
], | ||
"command": [ | ||
"start-notebook.sh" | ||
], | ||
"path-rewrite": "/lw-workspace/proxy/", | ||
"use-tls": "false", | ||
"ready-probe": "/lw-workspace/proxy/", | ||
"lifecycle-post-start": [ | ||
"/bin/sh", | ||
"-c", | ||
"export IAM=`whoami`; rm -rf /home/$IAM/pd/dockerHome; ln -s $(pwd) /home/$IAM/pd/dockerHome; mkdir -p /home/$IAM/.jupyter/custom; echo \"define(['base/js/namespace'], function(Jupyter){Jupyter._target = '_self';})\" >/home/$IAM/.jupyter/custom/custom.js; ln -s /data /home/$IAM/pd/; true" | ||
], | ||
"user-uid": 1000, | ||
"fs-gid": 100 | ||
} | ||
] | ||
} |