Skip to content

Commit

Permalink
Merge pull request #1713 from yuvipanda/nph
Browse files Browse the repository at this point in the history
Keep a placeholder node around for UToronto Hub
  • Loading branch information
yuvipanda authored Sep 16, 2022
2 parents 750d631 + c5e3a2c commit 90512f2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/clusters/utoronto/prod.values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
jupyterhub:
scheduling:
userPlaceholder:
# Keep at least one spare node around
replicas: 1
resources:
requests:
# Each node on the UToronto cluster has 59350076Ki of RAM
# You can find this out by looking at the output of `kubectl get node <node-name> -o yaml`
# Look under `allocatable`, not `capacity`. Unfortunately then you have to fiddle with it to
# find the right number that's big enough that no user pods will schedule here, but small enough
# that pods in `kube-system` will still schedule.
# So even though this is under `userPlaceholder`, it really is operating as a `nodePlaceholder`
memory: 57350076Ki
hub:
db:
pvc:
Expand Down

0 comments on commit 90512f2

Please sign in to comment.