diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-04-19 15:08:10 +0530 |
---|---|---|
committer | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2018-05-04 10:47:56 +0000 |
commit | aac78b27fd6db27dd4d6b8be15210a3cce070b41 (patch) | |
tree | 344027e27ed9427db34e9ac81a1434c839024c46 /kubernetes/consul/resources/config | |
parent | 8b76ba0aff9839657231328e0b541686d3ccee71 (diff) |
Add health check for CLI
Issue-ID: CLI-106
Change-Id: I27a70c0cc7e3184bb89333b129797fbc0a83caca
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'kubernetes/consul/resources/config')
-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" + } + ] + } +} |