[GENERIC][CASSANDRA] Loosen probe check time 71/118171/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 22 Feb 2021 15:23:04 +0000 (16:23 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 22 Feb 2021 15:26:04 +0000 (16:26 +0100)
With Azure and also some internal deployments, `nodepool status` takes
more than 3 seconds (it can go up to 6 seconds) and so cassandra is not
coming up or quite randomly.
This patch gives more room to `nodepool status` to answer.

Issue-ID: OOM-2687
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I98b0adc751e3cd4fa8710f88567cd8896db548eb

kubernetes/common/cassandra/values.yaml

index fbdf8e3..c3d22ce 100644 (file)
@@ -55,8 +55,8 @@ affinity: {}
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 60
-  periodSeconds: 10
-  timeoutSeconds: 3
+  periodSeconds: 20
+  timeoutSeconds: 10
   successThreshold: 1
   failureThreshold: 3
   # necessary to disable liveness probe when setting breakpoints
@@ -65,8 +65,8 @@ liveness:
 
 readiness:
   initialDelaySeconds: 120
-  periodSeconds: 10
-  timeoutSeconds: 3
+  periodSeconds: 20
+  timeoutSeconds: 10
   successThreshold: 1
   failureThreshold: 3