From a60ad60c31feea094461170b12e68d1a9e10d36b Mon Sep 17 00:00:00 2001 From: mayankg2703 Date: Thu, 4 Jan 2018 18:45:37 +0000 Subject: health check hbase aai Issue-ID: OOM-35 Change-Id: I19efe476a791f3c9fce64cd933738eca7fb77ffb Signed-off-by: mayankg2703 --- .../consul-agent-config/aai-hbase-health.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-hbase-health.json (limited to 'kubernetes/config') diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-hbase-health.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-hbase-health.json new file mode 100644 index 0000000000..07828431fc --- /dev/null +++ b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-hbase-health.json @@ -0,0 +1,21 @@ +{ + "service": { + "name": "A&AI HBase Health Check", + "checks": [ + { + "id": "hbase-aai", + "name": "HBase Health Check", + "http": "http://hbase.onap-aai:8080/status/cluster", + "method": "GET", + "header": { + "Cache-Control": ["no-cache"], + "Content-Type": ["application/json"], + "Accept": ["application/json"] + }, + "tls_skip_verify": true, + "interval": "15s", + "timeout": "1s" + } + ] + } +} -- cgit 1.2.3-korg