From aac78b27fd6db27dd4d6b8be15210a3cce070b41 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 19 Apr 2018 15:08:10 +0530 Subject: Add health check for CLI Issue-ID: CLI-106 Change-Id: I27a70c0cc7e3184bb89333b129797fbc0a83caca Signed-off-by: Kanagaraj Manickam k00365106 --- .../config/consul-agent-config/cli-health-check.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json 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" + } + ] + } +} -- cgit 1.2.3-korg