summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/resources/config/consul-agent-config
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-05-08 02:07:55 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-08 02:07:55 +0000
commit7d80f71c95d03ea5150ffa06cf8d0df51d7051e2 (patch)
tree5351d176f490672919fe9885023e017de1caa5a1 /kubernetes/consul/resources/config/consul-agent-config
parent0ebbd987937d747a56efc59f00772521f583668c (diff)
parentaac78b27fd6db27dd4d6b8be15210a3cce070b41 (diff)
Merge "Add health check for CLI"
Diffstat (limited to 'kubernetes/consul/resources/config/consul-agent-config')
-rw-r--r--kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json b/kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json
new file mode 100644
index 0000000000..81e55cb871
--- /dev/null
+++ b/kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json
@@ -0,0 +1,15 @@
+{
+ "service": {
+ "name": "Health Check: ONAP CLI",
+ "checks": [
+ {
+ "id": "cli",
+ "name": "CLI Health Check",
+ "http": "http://cli.{{include "common.namespace" .}}:8080",
+ "method": "GET",
+ "interval": "3600s",
+ "timeout": "1s"
+ }
+ ]
+ }
+}