Skip to content

Commit

Permalink
Merge pull request #2446 from yuvipanda/utoronto-cpu
Browse files Browse the repository at this point in the history
Set a CPU limit for user pods in UToronto
  • Loading branch information
yuvipanda authored Mar 30, 2023
2 parents bc7eb18 + c7ee78e commit 7ce2cd4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/clusters/utoronto/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ jupyterhub:
ongoing basis. To reach the support site, please visit: <a href="https://act.utoronto.ca/jupyterhub-support">https://act.utoronto.ca/jupyterhub-support/</a>.
</div>
singleuser:
cpu:
# Each node has about 8 CPUs total, and if we limit users to no more than
# 4, no single user can take down a full node by themselves. We have to
# set the guarantee to *something*, otherwise it is set to be equal
# to the limit!
limit: 4
guarantee: 0.01
memory:
limit: 2G
guarantee: 1G
Expand Down

0 comments on commit 7ce2cd4

Please sign in to comment.