From b1877a83d7f5c9f1a35207c693660eb74ca87d9b Mon Sep 17 00:00:00 2001 From: David Michelman Date: Wed, 19 May 2021 12:54:56 -0700 Subject: [PATCH] partially disabled telegraf liveness probe check, we'll still have telemetry but the probe won't fail if telegraf isn't running --- build/linux/installer/scripts/livenessprobe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/linux/installer/scripts/livenessprobe.sh b/build/linux/installer/scripts/livenessprobe.sh index 198b4e87f..5e1261e7e 100644 --- a/build/linux/installer/scripts/livenessprobe.sh +++ b/build/linux/installer/scripts/livenessprobe.sh @@ -30,9 +30,9 @@ fi (ps -ef | grep telegraf | grep -v "grep") if [ $? -ne 0 ] then - echo "Telegraf is not running" > /dev/termination-log + # echo "Telegraf is not running" > /dev/termination-log echo "Telegraf is not running (controller: ${CONTROLLER_TYPE}, container type: ${CONTAINER_TYPE})" > /dev/write-to-traces # this file is tailed and sent to traces - exit 1 + # exit 1 fi if [ -s "inotifyoutput.txt" ]