summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/resources
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-04-19 15:08:10 +0530
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>2018-05-04 10:47:56 +0000
commitaac78b27fd6db27dd4d6b8be15210a3cce070b41 (patch)
tree344027e27ed9427db34e9ac81a1434c839024c46 /kubernetes/consul/resources
parent8b76ba0aff9839657231328e0b541686d3ccee71 (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')
-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"
+ }
+ ]
+ }
+}