From 9cdab48dc0618b3895bc5b224f6594a02041924c Mon Sep 17 00:00:00 2001
From: "egon w. stemle" <egon.stemle@eurac.edu>
Date: Wed, 25 Sep 2019 16:47:06 +0200
Subject: [PATCH] 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
---
 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 ca2b821..d90020e 100644
--- a/kubernetes/dspace-deployment.yaml
+++ b/kubernetes/dspace-deployment.yaml
@@ -79,7 +79,7 @@ spec:
               - /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;
-          initialDelaySeconds: 600
+          initialDelaySeconds: 900
           periodSeconds: 15
           timeoutSeconds: 3
       restartPolicy: Always
-- 
GitLab