Skip to content

Commit a68608c

Browse files
authored
Merge pull request #7601 from bsatoriu/patch-2
Add liveness probe configuration to common.values.yaml
2 parents 0cec5a0 + 819373f commit a68608c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

config/clusters/maap/common.values.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,20 @@ jupyterhub:
163163
image_pull_policy: Always
164164
securityContext:
165165
privileged: true
166+
livenessProbe:
167+
# This automatically restarts just this container every 45 minutes
168+
# This is a *temporary* workaround, with a present expiry date of Feb 23, 2026
169+
# The date must be extended, or a different workaround must be found, or something
170+
# else must be agreed to by that date.
171+
# See https://github.com/2i2c-org/infrastructure/pull/7601 for more information
172+
exec:
173+
command:
174+
- sh
175+
- -c
176+
- [-f /tmp/active]
177+
initialDelaySeconds: 60
178+
periodSeconds: 5
179+
failureThreshold: 1
166180
resources:
167181
limits:
168182
memory: 512Mi

0 commit comments

Comments
 (0)