diff --git a/kubernetes/dspace-deployment.yaml b/kubernetes/dspace-deployment.yaml index e4a2a46f1867e07ac57c36c884f80180b59cf4d5..ed4f605ee2ee3b9695c1839e6e9672096f1477d3 100644 --- a/kubernetes/dspace-deployment.yaml +++ b/kubernetes/dspace-deployment.yaml @@ -69,16 +69,11 @@ spec: - mountPath: /opt/lindat-dspace/installation/assetstore name: dspace-assetstore livenessProbe: - httpGet: - host: clarin-dev.eurac.edu - path: /repository/xmlui/ - port: 443 - scheme: HTTPS exec: command: - /bin/sh - -c - - 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; + - 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|timeout" && exit 0 || exit 1; initialDelaySeconds: 900 periodSeconds: 15 timeoutSeconds: 3