Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add Consul health check support for message-router
[oom.git]
/
kubernetes
/
config
/
docker
/
init
/
src
/
config
/
consul
/
consul-agent-config
/
mr-kafka-health.json
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/mr-kafka-health.json
b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/mr-kafka-health.json
new file mode 100644
(file)
index 0000000..
128cf94
--- /dev/null
+++ b/
kubernetes/config/docker/init/src/config/consul/consul-agent-config/mr-kafka-health.json
@@ -0,0
+1,10
@@
+{
+ "service": {
+ "name": "Health Check: Message Router - Kafka",
+ "check": {
+ "script": "/consul/config/scripts/mr-kafka-health.sh",
+ "interval": "30s",
+ "timeout": "1s"
+ }
+ }
+}