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:
Sergey Matvienko
2022-06-20 11:50:26 +03:00
committed by GitHub
parent 16569e0180
commit 9df7e2128c
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 }}