mirror of
https://github.com/bitnami/charts.git
synced 2026-02-28 07:28:01 +08:00
Cassandra: liveness probe verifies that native transport is live instead nodetool status that reads status from local node even when node out of gossip (#10677)
Signed-off-by: Sergey Matvienko <smatvienko@thingsboard.io> Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
@@ -23,4 +23,4 @@ name: cassandra
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-cassandra
|
||||
- http://cassandra.apache.org
|
||||
version: 9.2.5
|
||||
version: 9.2.6
|
||||
|
||||
@@ -346,7 +346,7 @@ spec:
|
||||
- /bin/bash
|
||||
- -ec
|
||||
- |
|
||||
nodetool status
|
||||
nodetool info | grep "Native Transport active: true"
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
|
||||
|
||||
Reference in New Issue
Block a user