From 64cd0faf6ac8eb54b70ced3de570b2932435a8d3 Mon Sep 17 00:00:00 2001 From: "DeJaeger, Darren (dd118r)" Date: Thu, 18 Jun 2020 11:32:35 -0400 Subject: [PATCH] Adjust rabbitmq probes to better reflect its actual state This PS looks to make a few small tweaks to the rabbitmq probes so that its health and readiness is more reflective of what is actually happening inside the container. We were previously seeing instances of the pod marked as ready before it actually was. Change-Id: If48ec02d4050f7385e71c2e6fe0fff8f59667af4 --- rabbitmq/templates/bin/_rabbitmq-liveness.sh.tpl | 2 +- rabbitmq/templates/bin/_rabbitmq-readiness.sh.tpl | 2 +- rabbitmq/templates/statefulset.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rabbitmq/templates/bin/_rabbitmq-liveness.sh.tpl b/rabbitmq/templates/bin/_rabbitmq-liveness.sh.tpl index 8088a0af6..943209aad 100644 --- a/rabbitmq/templates/bin/_rabbitmq-liveness.sh.tpl +++ b/rabbitmq/templates/bin/_rabbitmq-liveness.sh.tpl @@ -20,5 +20,5 @@ if [ -f /tmp/rabbit-disable-liveness-probe ]; then exit 0 else timeout 5 bash -c "true &>/dev/null