Move consul config from shared NFS to configmap
[oom.git] / kubernetes / config / docker / init / src / config / consul / consul-agent-config / scripts / mr-kafka-health.sh
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/mr-kafka-health.sh b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/scripts/mr-kafka-health.sh
deleted file mode 100755 (executable)
index cde6e8f..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-kafkapod=$(/consul/config/bin/kubectl -n namespace-placeholder get pod | grep -o "global-kafka-[^[:space:]]*")
-if [ -n "$kafkapod" ]; then
-   if /consul/config/bin/kubectl -n namespace-placeholder exec -it $kafkapod -- ps ef | grep -i kafka; then
-      echo Success. Kafka process is running. 2>&1
-      exit 0
-   else
-      echo Failed. Kafka is not running. 2>&1
-      exit 1
-   fi
-else
-   echo Failed. Kafka container is offline. 2>&1
-   exit 1
-fi