summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/resources/config/consul-agent-config/clamp-mariadb-health.json
diff options
context:
space:
mode:
authorPriyanka <Priyanka.Jain3@amdocs.com>2018-05-16 04:30:25 +0000
committerPriyanka <Priyanka.Jain3@amdocs.com>2018-05-16 04:31:50 +0000
commitfa408712925a18a49614f1e4e295b49e1284cfd5 (patch)
treed14cf340b9ad6fa66e2a2ad7713b5276827c55b8 /kubernetes/consul/resources/config/consul-agent-config/clamp-mariadb-health.json
parent9edbc2ab963f9a7ede31d0934979cc5de11734bb (diff)
Clamp DB Health Check
Issue-ID: OOM-688 Change-Id: Ied8688fdfa7759b8b5f33b9914195d227eb08e48 Signed-off-by: Priyanka <Priyanka.Jain3@amdocs.com>
Diffstat (limited to 'kubernetes/consul/resources/config/consul-agent-config/clamp-mariadb-health.json')
-rw-r--r--kubernetes/consul/resources/config/consul-agent-config/clamp-mariadb-health.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/kubernetes/consul/resources/config/consul-agent-config/clamp-mariadb-health.json b/kubernetes/consul/resources/config/consul-agent-config/clamp-mariadb-health.json
new file mode 100644
index 0000000000..f5ae467d74
--- /dev/null
+++ b/kubernetes/consul/resources/config/consul-agent-config/clamp-mariadb-health.json
@@ -0,0 +1,16 @@
+{
+ "service": {
+ "name": "Health Check: CLAMP - MariaDb",
+ "checks": [
+ {
+ "id": "clamp-mariadb",
+ "name": "CLAMP Mariadb Health Check",
+ "script": "/consul/scripts/clamp-mariadb-script.sh",
+ "interval": "10s",
+ "timeout": "1s"
+ }
+ ]
+
+ }
+}
+