summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul
diff options
context:
space:
mode:
authorKiran Kamineni <kiran.k.kamineni@intel.com>2018-05-23 15:15:58 -0700
committerKiran Kamineni <kiran.k.kamineni@intel.com>2018-05-23 15:16:15 -0700
commit7965a8d204f901f92c13721b53c523f0c2b07bbe (patch)
treeb24ddfdf660e4a8db70fbe16b257ccf6058d5bf6 /kubernetes/consul
parente7e1e1787c3cf923e3f0f15469b9db99742d4b8e (diff)
Add consul health check for SMS
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>
Diffstat (limited to 'kubernetes/consul')
-rw-r--r--kubernetes/consul/resources/config/consul-agent-config/aaf-sms-health.json17
1 files changed, 17 insertions, 0 deletions
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
index 0000000000..965732da5d
--- /dev/null
+++ b/kubernetes/consul/resources/config/consul-agent-config/aaf-sms-health.json
@@ -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"
+ }
+ ]
+ }
+}
+