mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: abci_info liveness probe check is not enough (#2275)
This commit is contained in:
parent
722401ada9
commit
97b2d554e9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user