diff options
author | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-05-05 10:47:58 +0200 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2021-05-06 08:22:05 +0200 |
commit | e7616c3ea9d805edf625c9eac622f97d1e648d5a (patch) | |
tree | 4716ab70c2a0edd2788dd7fe0a32534e21d79f14 /kubernetes/common/cassandra/values.yaml | |
parent | f6465e1e1386cd090ab9a125683304e57f373c19 (diff) |
[COMMON][CASSANDRA] Use Startup probes
Instead of long initial delay on readiness and liveness probes, use
startup probes and be more aggressive on readiness and liveness.
Issue-ID: OOM-2741
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: If60f345fd1e11fd1419cee58efb7d53e56dc5c79
Diffstat (limited to 'kubernetes/common/cassandra/values.yaml')
-rw-r--r-- | kubernetes/common/cassandra/values.yaml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/kubernetes/common/cassandra/values.yaml b/kubernetes/common/cassandra/values.yaml index c3d22cedc0..5a50d8e9e8 100644 --- a/kubernetes/common/cassandra/values.yaml +++ b/kubernetes/common/cassandra/values.yaml @@ -54,8 +54,8 @@ affinity: {} # probe configuration parameters liveness: - initialDelaySeconds: 60 - periodSeconds: 20 + initialDelaySeconds: 1 + periodSeconds: 10 timeoutSeconds: 10 successThreshold: 1 failureThreshold: 3 @@ -64,12 +64,19 @@ liveness: enabled: true readiness: - initialDelaySeconds: 120 - periodSeconds: 20 + initialDelaySeconds: 1 + periodSeconds: 10 timeoutSeconds: 10 successThreshold: 1 failureThreshold: 3 +startup: + initialDelaySeconds: 10 + periodSeconds: 10 + timeoutSeconds: 10 + successThreshold: 1 + failureThreshold: 90 + service: name: cassandra headless: |