Problem: abci_info liveness probe check is not enough (#2275)

This commit is contained in:
Ahmed Muawia Khan 2018-05-09 11:58:46 +02:00 committed by Troy McConaghy
parent 722401ada9
commit 97b2d554e9

View File

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