diff options
author | 2018-05-08 02:07:55 +0000 | |
---|---|---|
committer | 2018-05-08 02:07:55 +0000 | |
commit | 7d80f71c95d03ea5150ffa06cf8d0df51d7051e2 (patch) | |
tree | 5351d176f490672919fe9885023e017de1caa5a1 /kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json | |
parent | 0ebbd987937d747a56efc59f00772521f583668c (diff) | |
parent | aac78b27fd6db27dd4d6b8be15210a3cce070b41 (diff) |
Merge "Add health check for CLI"
Diffstat (limited to 'kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json')
-rw-r--r-- | kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json | 15 |
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" + } + ] + } +} |