Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data 6: Increase RAM to 2 GB & provide enhanced privileges for course staff #5850

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Data 6:Increase RAM to 2 GB and provide enhanced privileges for cours…
…e staff
  • Loading branch information
balajialg committed Jul 9, 2024
commit 58e8b678aeb1d55da0d6cd6b8186e5c8fd23b122
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
balajialg marked this conversation as resolved.
Show resolved Hide resolved
# 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
Loading