From 38a4b23e325f9a22daaca353d41d931ae24cc7f2 Mon Sep 17 00:00:00 2001
From: Maarten de Waard <maarten@greenhost.nl>
Date: Thu, 17 Oct 2019 11:30:46 +0200
Subject: [PATCH] set liveness probes to a way in which they are not likely to
 fail

---
 nextcloud-onlyoffice/values.yaml      | 4 ----
 onlyoffice-documentserver/values.yaml | 4 ++--
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/nextcloud-onlyoffice/values.yaml b/nextcloud-onlyoffice/values.yaml
index 9baceaf8..297b4dbd 100644
--- a/nextcloud-onlyoffice/values.yaml
+++ b/nextcloud-onlyoffice/values.yaml
@@ -31,7 +31,3 @@ apps:
 # https://github.com/helm/helm/issues/5135 for more info.
 mariadb:
   enabled: true
-
-onlyoffice-documentserver:
-  livenessProbe:
-    initialDelaySeconds: 40
diff --git a/onlyoffice-documentserver/values.yaml b/onlyoffice-documentserver/values.yaml
index cd1b5bcb..f754a96d 100644
--- a/onlyoffice-documentserver/values.yaml
+++ b/onlyoffice-documentserver/values.yaml
@@ -51,7 +51,7 @@ affinity: {}
 
 livenessProbe:
   enabled: true
-  initialDelaySeconds: 30
+  initialDelaySeconds: 120
   timeoutSeconds: 2
   periodSeconds: 10
   successThreshold: 1
@@ -63,7 +63,7 @@ readinessProbe:
   timeoutSeconds: 2
   periodSeconds: 20
   successThreshold: 1
-  failureThreshold: 10
+  failureThreshold: 20
 
 redis:
   master:
-- 
GitLab