Templates and example build for the DSRI OpenShift applications.
Clone this repository:
git clone https://github.com/MaastrichtU-IDS/dsri-openshift-applications.git
cd dsri-openshift-applicationsContainers running as non root, without sudo privileges
for template in $( ls templates-restricted/*.yml ); do oc apply -f ${template} ; doneContainers running as root user.
GPU templates and templates in anyuid folder require the anyuid service account enabled in your project (to run the container as root user).
Contact us to request
anyuidprivileges if necessary
for template in $( ls templates-anyuid/*.yml ); do oc apply -f ${template} ; doneContainers running as root user
for template in $( ls templates-gpu/*/*.yml ); do oc apply -f ${template} ; doneFor VSCode server or filebrowser: check their respective folders.
For JupyterLab: check https://github.com/MaastrichtU-IDS/jupyterlab-on-openshift/
Create app from template file using the CLI:
oc new-app -f templates-datascience/template-jupyterlab-dynamic.yml -p APPLICATION_NAME=jupyterlab-dynamic,PASSWORD=PASSWORDCreate app from existing template in your DSRI project using the CLI:
oc new-app jupyterlab-dynamic -p APPLICATION_NAME=jupyterlab-dynamic,PASSWORD=PASSWORDDelete your application:
oc delete all --selector app=jupyterlab-dynamicReplace
jupyterlab-dynamicby your APPLICATION_NAME
Delete all applications from a template:
oc delete all,secret,configmaps,serviceaccount,rolebinding --selector template=jupyterlab-dynamicBrowse the list of Icons for Templates in the Catalog.
Convert JSON to YAML: https://www.json2yaml.com
See also:
-
OpenShift documentation to generate Template from deployed service
-
Deployment from Jupyter
-
JupyterHub with GitHub OAuth template based on jackfrost373/jupyter-root and https://github.com/jupyter-on-openshift/jupyterhub-quickstart
Contributions are welcome! See the guidelines to contribute 👨💻.