Skip to content

Commit

Permalink
basehub: rely on a single user-scheduler replica
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Mar 27, 2024
1 parent e7449ff commit af2bfd8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions helm-charts/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,15 @@ jupyterhub:
replicas: 0
userScheduler:
enabled: false
# replicas default value is 2 in z2jh, but its an optimization that seldom
# is needed so let's settle for 1 to preserve max number of pods available
# per node on EKS clusters where they are somewhat limited. Only one
# replica is actively doing work to schedule pods, so at worst during
# disruptions of pods we end up waiting longer for a replica to reschedule
# on a new core node than it took for a non-leader replica to become
# leader. If that takes more time, it could could delay scheduling a newly
# created user server assuming the hub pod wasn't also disrupted.
replicas: 1
# FIXME: We should think about these resource requests/limits, see
# https://github.com/2i2c-org/infrastructure/issues/2127.
#
Expand Down

0 comments on commit af2bfd8

Please sign in to comment.