Skip to content

Commit

Permalink
Data 6:Increase RAM to 2 GB and provide enhanced privileges for cours…
Browse files Browse the repository at this point in the history
…e staff
  • Loading branch information
balajialg committed Jul 9, 2024
1 parent 23cb3be commit 58e8b67
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions deployments/datahub/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jupyterhub:
loadRoles:
# datahub staff
datahub-staff:
description: Enable admin for datahub staff
# description: Enable admin for datahub staff
# this role provides permissions to...
scopes:
- admin-ui
Expand All @@ -36,6 +36,20 @@ jupyterhub:
groups:
- course::1524699::group::all-admins

# Data 6, Summer 2024, https://github.com/berkeley-dsep-infra/datahub/issues/5847
course-staff-1535590:
# description: Enable course staff to view and access servers.
# # this role provides permissions to...
scopes:
- admin-ui
- list:users!group=course::1535590
- admin:servers!group=course::1535590
- access:servers!group=course::1535590
# # this role will be assigned to...
groups:
- course::1535590::enrollment_type::teacher
- course::1535590::enrollment_type::ta

nodeSelector:
hub.jupyter.org/pool-name: core-pool-2024-05-08
initContainers:
Expand Down Expand Up @@ -144,6 +158,10 @@ jupyterhub:
subPath: _shared/course/demog-dataevent
readOnly: true

course::1534506: #Demog Data Event, April 1 - Sep 30, https://github.com/berkeley-dsep-infra/datahub/issues/5643
course::1534506: # Demog Data Event, April 1 - Sep 30, https://github.com/berkeley-dsep-infra/datahub/issues/5643
mem_limit: 8192M
mem_guarantee: 8192M

course::1535590: # Data 6, https://github.com/berkeley-dsep-infra/datahub/issues/5847
mem_limit: 2048M
mem_guarantee: 2048M

0 comments on commit 58e8b67

Please sign in to comment.