aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-02-22 16:23:04 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-02-22 16:26:04 +0100
commit276c3d901ca7da61bd13e17c97925ae8aec99446 (patch)
tree1f2556ecf362048bc3543f05202bbff73bfd7e73
parent740de6d5e3e0744966114440583df27d141dfd03 (diff)
[GENERIC][CASSANDRA] Loosen probe check time
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
-rw-r--r--kubernetes/common/cassandra/values.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/common/cassandra/values.yaml b/kubernetes/common/cassandra/values.yaml
index fbdf8e3e19..c3d22cedc0 100644
--- a/kubernetes/common/cassandra/values.yaml
+++ b/kubernetes/common/cassandra/values.yaml
@@ -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