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