summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormayankg2703 <mayank.gupta@amdocs.com>2017-12-19 10:46:57 +0000
committermayankg2703 <mayank.gupta@amdocs.com>2017-12-19 10:50:59 +0000
commit0e2e9235409ded9c8806515f9ece4e8cd14f9a8f (patch)
tree5ad2a542a63f3712ec82473962ea7820ab5ea7d2
parenta6eb9be0e091746c824b169a46242ef0943a2b05 (diff)
SDNC DG Builder Health Check using consul
Issue-ID: OOM-43 Change-Id: I46b1582de29c5d39e3f66e5c354960eab086d91a Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
-rw-r--r--kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json
new file mode 100644
index 0000000000..051c4abb3a
--- /dev/null
+++ b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json
@@ -0,0 +1,22 @@
+{
+ "service": {
+ "name": "Health Check: SDNC - DGBuilder",
+ "checks": [
+ {
+ "id": "sdnc-dgbuilder",
+ "name": "SDNC-DGbuilder Health Check",
+ "http": "http://sdnc-dgbuilder.onap-sdnc:3000/",
+ "method": "HEAD",
+ "header": {
+ "Authorization": ["Basic ZGd1c2VyOnRlc3QxMjM="],
+ "Cache-Control": ["no-cache"],
+ "Content-Type": ["application/json"],
+ "Accept": ["application/json"]
+ },
+ "tls_skip_verify": true,
+ "interval": "15s",
+ "timeout": "1s"
+ }
+ ]
+ }
+}