Add consul health check for SMS 39/48839/1
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Wed, 23 May 2018 22:15:58 +0000 (15:15 -0700)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Wed, 23 May 2018 22:16:15 +0000 (15:16 -0700)
Add consul based health check for
Secret Management Service

Issue-ID: AAF-274
Change-Id: Ic1763e317c93be232f5efb573239f12ca99b2589
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
kubernetes/consul/resources/config/consul-agent-config/aaf-sms-health.json [new file with mode: 0644]

diff --git a/kubernetes/consul/resources/config/consul-agent-config/aaf-sms-health.json b/kubernetes/consul/resources/config/consul-agent-config/aaf-sms-health.json
new file mode 100644 (file)
index 0000000..965732d
--- /dev/null
@@ -0,0 +1,17 @@
+{
+  "service": {
+    "name": "Health Check: Secret Management Service (sms)",
+    "check":[
+      {
+        "id"  : "aaf-sms-health",
+        "name": "SMS Health Check",
+        "http": "https://aaf-sms.{{ .Release.Namespace }}:10443/v1/sms/healthcheck",
+        "tls_skip_verify": true,
+        "method": "GET",
+        "interval": "20s",
+        "timeout": "5s"
+      }
+    ]
+  }
+}
+