Add Consul support to 'OneClick' deployment.
[oom.git] / kubernetes / config / docker / init / src / config / consul / consul-agent-config / aai-model-loader-health.json
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-model-loader-health.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/aai-model-loader-health.json
new file mode 100644 (file)
index 0000000..4e2e305
--- /dev/null
@@ -0,0 +1,14 @@
+{
+  "service": {
+    "name": "A&AI Model Loader",
+    "checks": [
+      {
+        "id": "model-loader-process",
+        "name": "Model Loader Presence",
+        "script": "/consul/config/scripts/model-loader-script.sh",
+        "interval": "15s",
+        "timeout": "1s"
+      }
+    ]
+  }
+}