We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f92c43 commit c102758Copy full SHA for c102758
2 files changed
resources/etcdctl.sh
100644
100755
resources/node-agent.sh
@@ -225,7 +225,7 @@ echo ok > /tmp/health
225
while true; do
226
227
# we are not healthy anymore when agent_pid is set but process is not running
228
- if [ "$agent_pid" != "" ] && [ ! -d "/proc/$agent_pid" ] ; then
+ if [ "$agent_pid" != "" ] && [ ! -d "/proc/$agent_pid" ] && [ ! -e /tmp/disable_healthcheck ]; then
229
# clean up and exit loop
230
echo "agent process not running anymore, cleaning up..."
231
clean_up
0 commit comments