Skip to content

Commit

Permalink
Merge pull request #1941 from consideRatio/pr/tweak-liveness-readines…
Browse files Browse the repository at this point in the history
…s-probes-settings-to-be-less-strict

Enable hub livenessProbe by default and relax hub/proxy probes
  • Loading branch information
manics authored Dec 12, 2020
2 parents 2c9fa50 + 982145a commit 8e7b699
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions jupyterhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,22 @@ hub:
templatePaths: []
templateVars: {}
livenessProbe:
enabled: false
initialDelaySeconds: 180
# The livenessProbe's aim to give JupyterHub sufficient time to startup but
# be able to restart if it becomes unresponsive for ~5 min.
enabled: true
initialDelaySeconds: 300
periodSeconds: 10
failureThreshold: 3
timeoutSeconds: 1
failureThreshold: 30
timeoutSeconds: 3
readinessProbe:
# The readinessProbe's aim is to provide a successful startup indication,
# but following that never become unready before its livenessProbe fail and
# restarts it if needed. To become unready following startup serves no
# purpose as there are no other pod to fallback to in our non-HA deployment.
enabled: true
initialDelaySeconds: 0
periodSeconds: 2
failureThreshold: 3
failureThreshold: 1000
timeoutSeconds: 1
existingSecret:

Expand Down Expand Up @@ -189,6 +195,7 @@ proxy:
enabled: true
initialDelaySeconds: 0
periodSeconds: 2
failureThreshold: 1000
resources:
requests:
cpu: 200m
Expand Down

0 comments on commit 8e7b699

Please sign in to comment.