From e4d1023bc911e7a749e926d25dd4aa0e5478ec9b Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Thu, 19 Sep 2024 10:51:30 -0700 Subject: [PATCH 1/2] Increase RAM to 16GB for data100 instructors --- deployments/data100/config/common.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/deployments/data100/config/common.yaml b/deployments/data100/config/common.yaml index 8da6b5791..4d244ff4d 100644 --- a/deployments/data100/config/common.yaml +++ b/deployments/data100/config/common.yaml @@ -112,10 +112,13 @@ jupyterhub: admin: true mem_limit: 4G - # Data 100, Spring 2024, https://github.com/berkeley-dsep-infra/datahub/issues/5376 - #course::1531798::group::Admins: # Spring 2024, Data 100 Admins, ensured 4G RAM - # mem_limit: 4G - # mem_guarantee: 4G + # Data 100, Fall 2024, https://github.com/berkeley-dsep-infra/datahub/issues/6167 + course::1537664::enrollment_type::teacher: # Fall 2024, Data 100 Instructors, ensured 16G RAM + mem_limit: 16G + mem_guarantee: 16G + course::1537664::enrollment_type::ta: # Fall 2024, Data 100 TAs, ensured 16G RAM + mem_limit: 16G + mem_guarantee: 16G admin: mem_guarantee: 2G extraVolumeMounts: From 1c979b8e28731227feec50898036497ac983f0f1 Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Thu, 19 Sep 2024 10:54:07 -0700 Subject: [PATCH 2/2] Adding CPU limits and guarantee --- deployments/data100/config/common.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deployments/data100/config/common.yaml b/deployments/data100/config/common.yaml index 4d244ff4d..ec250bab5 100644 --- a/deployments/data100/config/common.yaml +++ b/deployments/data100/config/common.yaml @@ -116,9 +116,13 @@ jupyterhub: course::1537664::enrollment_type::teacher: # Fall 2024, Data 100 Instructors, ensured 16G RAM mem_limit: 16G mem_guarantee: 16G + cpu_limit: 2 + cpu_guarantee: 2 course::1537664::enrollment_type::ta: # Fall 2024, Data 100 TAs, ensured 16G RAM mem_limit: 16G mem_guarantee: 16G + cpu_limit: 2 + cpu_guarantee: 2 admin: mem_guarantee: 2G extraVolumeMounts: