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

Adjust livenessProbe initialDelaySeconds

Startup time can be really abysmal: Almost 600s for loading the image
(on a fresh node) and some time to run the initial setup.

Address #60
parent a568362c
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ spec: ...@@ -79,7 +79,7 @@ spec:
- /bin/sh - /bin/sh
- -c - -c
- reply=$(curl -s -o /dev/null -w %{http_code} https://clarin.eurac.edu/repository/xmlui/); if [ "$reply" -lt 200 -o "$reply" -ge 400 ]; then exit 1; fi; ps aux | grep -v grep | grep -E "sleep|t imeout" && exit 0 || exit 1; - reply=$(curl -s -o /dev/null -w %{http_code} https://clarin.eurac.edu/repository/xmlui/); if [ "$reply" -lt 200 -o "$reply" -ge 400 ]; then exit 1; fi; ps aux | grep -v grep | grep -E "sleep|t imeout" && exit 0 || exit 1;
initialDelaySeconds: 600 initialDelaySeconds: 900
periodSeconds: 15 periodSeconds: 15
timeoutSeconds: 3 timeoutSeconds: 3
restartPolicy: Always restartPolicy: Always
......
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