From a4c0f7316d2f4ace96a7814959f1b2d2333b876a Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Wed, 31 Jan 2024 16:13:48 -0800 Subject: [PATCH 1/4] Adding shared directory option based on bcourses group --- deployments/data100/config/common.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/deployments/data100/config/common.yaml b/deployments/data100/config/common.yaml index 031a8c7b8..f9d93afd8 100644 --- a/deployments/data100/config/common.yaml +++ b/deployments/data100/config/common.yaml @@ -104,7 +104,13 @@ jupyterhub: course::1532866: # Temporarily grant 3G of RAM to all students mem_limit: 3G mem_guarantee: 3G - + + # Econ148, Spring '24; testing shared_readwrite for groups in Eric's class + course::1532866::group::shared_readwrite: + - mountPath: /home/jovyan/shared + name: home + subPath: _shared + readOnly: true admin: mem_guarantee: 2G extraVolumeMounts: From 1b5b599b706235fe7dec7f796b398c07e2b5a53f Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Wed, 31 Jan 2024 17:15:56 -0800 Subject: [PATCH 2/4] Including extravolumemount as an entry in the config --- deployments/data100/config/common.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deployments/data100/config/common.yaml b/deployments/data100/config/common.yaml index f9d93afd8..694713240 100644 --- a/deployments/data100/config/common.yaml +++ b/deployments/data100/config/common.yaml @@ -107,10 +107,10 @@ jupyterhub: # Econ148, Spring '24; testing shared_readwrite for groups in Eric's class course::1532866::group::shared_readwrite: - - mountPath: /home/jovyan/shared - name: home - subPath: _shared - readOnly: true + extraVolumeMounts: + - name: home + mountPath: /home/jovyan/shared-readwrite + subPath: _shared admin: mem_guarantee: 2G extraVolumeMounts: From c8568d0948ccd958c52a8390b8853fe49c37fb8e Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Fri, 2 Feb 2024 15:05:16 -0800 Subject: [PATCH 3/4] Mimicing directory name in Data100 Filestore --- deployments/data100/config/common.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/data100/config/common.yaml b/deployments/data100/config/common.yaml index 694713240..e4b06d952 100644 --- a/deployments/data100/config/common.yaml +++ b/deployments/data100/config/common.yaml @@ -109,7 +109,7 @@ jupyterhub: course::1532866::group::shared_readwrite: extraVolumeMounts: - name: home - mountPath: /home/jovyan/shared-readwrite + mountPath: /home/jovyan/econ148-readwrite subPath: _shared admin: mem_guarantee: 2G From 0905327fa919710cb0b06195af270afb6d7e17ac Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Fri, 2 Feb 2024 15:30:05 -0800 Subject: [PATCH 4/4] creating an individual shared directory for Econ 148 --- deployments/data100/config/common.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/data100/config/common.yaml b/deployments/data100/config/common.yaml index e4b06d952..757c3714c 100644 --- a/deployments/data100/config/common.yaml +++ b/deployments/data100/config/common.yaml @@ -109,7 +109,7 @@ jupyterhub: course::1532866::group::shared_readwrite: extraVolumeMounts: - name: home - mountPath: /home/jovyan/econ148-readwrite + mountPath: /home/jovyan/_shared-econ148 subPath: _shared admin: mem_guarantee: 2G