summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/resources/config/consul-agent-config/sdnc-cluster-health.json
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2018-07-15 12:32:24 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-15 12:32:24 +0000
commitb8a250d496d7dcdab72b0118164a3f2bb23cb7e4 (patch)
tree160bc55b0bb19203eef6811d0c71032ff2fe7aa3 /kubernetes/consul/resources/config/consul-agent-config/sdnc-cluster-health.json
parent310736ba91c4e9f8f8037b2014e3f2ab06112f0b (diff)
parentb642ee553d6dd486fc375755af9da2fdd9c94885 (diff)
Merge "SDN-C Multi-site High-availability - Auto-failover"
Diffstat (limited to 'kubernetes/consul/resources/config/consul-agent-config/sdnc-cluster-health.json')
-rw-r--r--kubernetes/consul/resources/config/consul-agent-config/sdnc-cluster-health.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/kubernetes/consul/resources/config/consul-agent-config/sdnc-cluster-health.json b/kubernetes/consul/resources/config/consul-agent-config/sdnc-cluster-health.json
new file mode 100644
index 0000000000..86a7630392
--- /dev/null
+++ b/kubernetes/consul/resources/config/consul-agent-config/sdnc-cluster-health.json
@@ -0,0 +1,14 @@
+{
+ "service": {
+ "name": "Health Check: SDNC ODL Cluster",
+ "checks": [
+ {
+ "id": "sdnc-odl-cluster-healthcheck",
+ "name": "SDNC ODL Cluster Health Check",
+ "script": "/consul/scripts/sdnc-cluster-health.sh",
+ "interval": "15s",
+ "timeout": "10s"
+ }
+ ]
+ }
+}