Add Consul health check support for message-router
[oom.git] / kubernetes / config / docker / init / src / config / consul / consul-agent-config / mr-zookeeper-health.json
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/mr-zookeeper-health.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/mr-zookeeper-health.json
new file mode 100644 (file)
index 0000000..5268747
--- /dev/null
@@ -0,0 +1,10 @@
+{
+ "service": {
+   "name": "Health Check: Message Router - ZooKeeper",
+   "check": {
+     "script": "/consul/config/scripts/mr-zookeeper-health.sh",
+     "interval": "30s",
+     "timeout": "1s"
+   }
+ }
+}