From 97b2d554e9ca49b83b331d1388327c1c373cc527 Mon Sep 17 00:00:00 2001 From: Ahmed Muawia Khan Date: Wed, 9 May 2018 11:58:46 +0200 Subject: [PATCH] Problem: abci_info liveness probe check is not enough (#2275) --- k8s/bigchaindb/bigchaindb-ss.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/k8s/bigchaindb/bigchaindb-ss.yaml b/k8s/bigchaindb/bigchaindb-ss.yaml index 81f44e7c..6e786f29 100644 --- a/k8s/bigchaindb/bigchaindb-ss.yaml +++ b/k8s/bigchaindb/bigchaindb-ss.yaml @@ -136,7 +136,8 @@ spec: - /bin/bash - "-c" - | - curl -s --fail --max-time 10 "http://${TM_INSTANCE_NAME}:${TM_RPC_PORT}/abci_info" > /dev/null + curl -s --fail --max-time 10 "http://${TM_INSTANCE_NAME}:${TM_RPC_PORT}/abci_info" > /dev/null && \ + curl -s --fail --max-time 10 "http://${TM_INSTANCE_NAME}:${TM_RPC_PORT}/status" > /dev/null ERR=$? if [ "$ERR" == 28 ]; then exit 1