Enable liveness checks for Cassandra (#556)

* Update cassandra-statefulset.yaml

* refactor
This commit is contained in:
rvs1729 2025-05-05 11:29:58 -04:00 committed by GitHub
parent aa040a6caa
commit 56e0318b61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 0 deletions

View File

@ -74,6 +74,18 @@ spec:
- /ready-probe.sh
initialDelaySeconds: 15
timeoutSeconds: 5
periodSeconds: 10
failureThreshold: 3
livenessProbe:
exec:
command:
- /bin/bash
- -c
- "nodetool status"
initialDelaySeconds: 15
timeoutSeconds: 5
periodSeconds: 10
failureThreshold: 3
# These volume mounts are persistent. They are like inline claims,
# but not exactly because the names need to match exactly one of
# the stateful pod volumes.