Skip to content

Commit

Permalink
Request half of a CPU per user session
Browse files Browse the repository at this point in the history
This value was changed, as the puppet nodes are being taken out of
service and so, there will be a higher number of user sessions running
in the SWAN kubernetes cluster.

Therefore, taking into account the maximum number of CPUs available, it
was decided to request half of a CPU per user session, to allow for
more user sessions to be scheduled.

This level of overcommiting is fine, under the assumption most users will
be idle for the majority of the time and will only require more
CPU resources when executing notebook cells.
  • Loading branch information
PMax5 committed Jan 17, 2024
1 parent 1eb8a25 commit 8878d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swan-cern/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ swan:
jupyterhub:
singleuser:
cpu:
guarantee: 1
guarantee: 0.5
scheduling:
userPods:
nodeAffinity:
Expand Down

0 comments on commit 8878d10

Please sign in to comment.