File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
charts/sombra/charts/sombra-job-scheduler Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2222 command :
2323 - /bin/sh
2424 - -c
25- - test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin 1 -print -quit 2>/dev/null | grep -q .
25+ - test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin - 1 -print -quit 2>/dev/null | grep -q .
2626 timeoutSeconds : 30
2727 periodSeconds : 10
2828 successThreshold : 1
Original file line number Diff line number Diff line change @@ -69,15 +69,15 @@ resources:
6969livenessProbe :
7070 exec :
7171 # This tests to see whether the file /tmp/sombra-job-scheduler-alive exists (test -f)
72- # and if it was modified within the last minute: `find ... -mmin 1 ....`
72+ # and if it was modified within the last minute: `find ... -mmin - 1 ....`
7373 # Every time sombra-job-scheduler executes it's loop to pollSombraJobs
7474 # it touches /tmp/sombra-job-scheduler-alive. This happens every pollingInterval
7575 # (which defaults to 20 seconds). Therefore, if /tmp/sombra-job-scheduler-alive is missing
7676 # or hasn't been updated in over a minute, it means pollSombraJobs has not been running.
7777 command :
7878 - /bin/sh
7979 - -c
80- - test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin 1 -print -quit 2>/dev/null | grep -q .
80+ - test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin - 1 -print -quit 2>/dev/null | grep -q .
8181 timeoutSeconds : 30
8282 periodSeconds : 10
8383 successThreshold : 1
@@ -89,7 +89,7 @@ startupProbe:
8989 command :
9090 - /bin/sh
9191 - -c
92- - test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin 1 -print -quit 2>/dev/null | grep -q .
92+ - test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin - 1 -print -quit 2>/dev/null | grep -q .
9393 timeoutSeconds : 30
9494 periodSeconds : 20
9595 successThreshold : 1
You can’t perform that action at this time.
0 commit comments