Move consul config from shared NFS to configmap
[oom.git] / kubernetes / consul / resources / config / consul-agent-config / msb-health.json
diff --git a/kubernetes/consul/resources/config/consul-agent-config/msb-health.json b/kubernetes/consul/resources/config/consul-agent-config/msb-health.json
new file mode 100644 (file)
index 0000000..d15c2ef
--- /dev/null
@@ -0,0 +1,39 @@
+{
+  "service": {
+    "name": "Health Check: MSB",
+    "checks": [
+      {
+        "id": "msb-eag.{{ .Values.nsPrefix }}",
+        "name": "MSB eag Health Check",
+        "http": "http://msb-eag.{{ .Values.nsPrefix }}:80/iui/microservices/default.html",
+        "method": "HEAD",
+        "tls_skip_verify": true,
+        "interval": "15s",
+        "timeout": "1s"
+      },
+      {
+        "id": "msb-iag.{{ .Values.nsPrefix }}",
+        "name": "MSB iag Health Check",
+        "http": "http://msb-iag.{{ .Values.nsPrefix }}:80/iui/microservices/default.html",
+        "method": "HEAD",
+        "tls_skip_verify": true,
+        "interval": "15s",
+        "timeout": "1s"
+      },
+      {
+        "id": "msb-consul.{{ .Values.nsPrefix }}",
+        "name": "MSB consul Health Check",
+        "tcp": "msb-consul.{{ .Values.nsPrefix }}:8500",
+        "interval": "15s",
+        "timeout": "1s"
+      },
+      {
+        "id": "msb-discovery.{{ .Values.nsPrefix }}",
+        "name": "MSB discovery Health Check",
+        "tcp": "msb-discovery.{{ .Values.nsPrefix }}:10081",
+        "interval": "15s",
+        "timeout": "1s"
+      }
+    ]
+  }
+}