From f923b2e9758f75591b4a0c2201715cd5a391538b Mon Sep 17 00:00:00 2001 From: BorislavG Date: Tue, 8 May 2018 15:18:57 +0000 Subject: Fix message-router-kafka references Change-Id: I034b7c0d13a2eb4c243bf23be1ccf1f731e9e7ff Issue-ID: OOM-1060 Signed-off-by: BorislavG --- .../resources/config/consul-agent-config/scripts/mr-kafka-health.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/consul/resources/config') diff --git a/kubernetes/consul/resources/config/consul-agent-config/scripts/mr-kafka-health.sh b/kubernetes/consul/resources/config/consul-agent-config/scripts/mr-kafka-health.sh index 6630117e92..fd4587551d 100755 --- a/kubernetes/consul/resources/config/consul-agent-config/scripts/mr-kafka-health.sh +++ b/kubernetes/consul/resources/config/consul-agent-config/scripts/mr-kafka-health.sh @@ -1,4 +1,4 @@ -kafkapod=$(/consul/bin/kubectl -n {{ include "common.namespace" . }} get pod | grep -o "message-router-global-kafka-[^[:space:]]*") +kafkapod=$(/consul/bin/kubectl -n {{ include "common.namespace" . }} get pod | grep -o "message-router-kafka-[^[:space:]]*") if [ -n "$kafkapod" ]; then if /consul/bin/kubectl -n {{ include "common.namespace" . }} exec -it $kafkapod -- ps ef | grep -i kafka; then echo Success. Kafka process is running. 2>&1 -- cgit 1.2.3-korg