Move consul config from shared NFS to configmap
[oom.git] / kubernetes / consul / resources / config / consul-agent-config / aai-sparky-be-health.json
diff --git a/kubernetes/consul/resources/config/consul-agent-config/aai-sparky-be-health.json b/kubernetes/consul/resources/config/consul-agent-config/aai-sparky-be-health.json
new file mode 100644 (file)
index 0000000..bf6305c
--- /dev/null
@@ -0,0 +1,14 @@
+{
+  "service": {
+    "name": "A&AI UI Backend Service",
+    "checks": [
+      {
+        "id": "sparky-be-process",
+        "name": "UI Backend Presence",
+        "script": "/consul/scripts/sparky-be-script.sh",
+        "interval": "15s",
+        "timeout": "1s"
+      }
+    ]
+  }
+}