From ad94e4d76a0bc3fb451f22fceee2186ff3287b03 Mon Sep 17 00:00:00 2001 From: Georgiana Dolocan Date: Thu, 26 Oct 2023 14:15:28 +0300 Subject: [PATCH] Update ucmerced prod to match staging --- config/clusters/2i2c/ucmerced.values.yaml | 30 ++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/config/clusters/2i2c/ucmerced.values.yaml b/config/clusters/2i2c/ucmerced.values.yaml index eb9ba7974..aea2c1d05 100644 --- a/config/clusters/2i2c/ucmerced.values.yaml +++ b/config/clusters/2i2c/ucmerced.values.yaml @@ -7,9 +7,33 @@ jupyterhub: hosts: - ucmerced.2i2c.cloud singleuser: - image: - name: quay.io/2i2c/2i2c-hubs-image - tag: "14107b8a85fb" + profileList: + - display_name: Python + description: Start a Python server with JupyterLab and scientific Python stack + default: true + kubespawner_override: + image: jupyter/scipy-notebook:2023-06-26 + # Launch into JupyterLab after the user logs in + default_url: /lab + - display_name: R + description: Start a R server with tidyverse & Geospatial tools + kubespawner_override: + image: rocker/binder:4.3.1 + default_url: /lab + # Ensures container working dir is homedir + # https://github.com/2i2c-org/infrastructure/issues/2559 + working_dir: /home/rstudio + # Because this is a list, it will override our default volume mounts + volume_mounts: + # Mount the user home directory + - name: home + mountPath: /home/rstudio + subPath: "{username}" + # Mount the shared readonly directory + - name: home + mountPath: /home/rstudio/shared + subPath: _shared + readOnly: true hub: config: CILogonOAuthenticator: