From a0b878c6688bcda1cdcad54baa2e832813e75e87 Mon Sep 17 00:00:00 2001 From: "egon w. stemle" <egon.stemle@eurac.edu> Date: Wed, 25 Sep 2019 16:57:08 +0200 Subject: [PATCH] fixup! Adjust livenessProbe initialDelaySeconds --- kubernetes/dspace-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/dspace-deployment.yaml b/kubernetes/dspace-deployment.yaml index d90020e..10b5eba 100644 --- a/kubernetes/dspace-deployment.yaml +++ b/kubernetes/dspace-deployment.yaml @@ -78,7 +78,7 @@ spec: command: - /bin/sh - -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-dev.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: 900 periodSeconds: 15 timeoutSeconds: 3 -- GitLab