Skip to content
Snippets Groups Projects
Commit 761d8a7b authored by egon w. stemle's avatar egon w. stemle :robot:
Browse files

Fix cron subprocess terminates silently

We noticed the subprocess that runs our 'cron' sometimes quits silently;
one possibility we see is that OOM kills it. In any case, we now also
check for the existence of the commands `sleep` or `timeout` in the
process table (`ps`) via the `livenessProbe`.

Address #60
parent 1b8974a3
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,11 @@ spec:
path: /repository/xmlui/
port: 443
scheme: HTTPS
exec:
command:
- /bin/sh
- -c
- ps aux | grep -v grep | grep -E "sleep|timeout"
initialDelaySeconds: 600
periodSeconds: 15
timeoutSeconds: 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment