summaryrefslogtreecommitdiffstats
path: root/kubernetes/consul
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2018-05-24 17:49:50 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-24 17:49:50 +0000
commita24624b65f74eba31b8803fff1db55aeb11d605f (patch)
treef2a1c7a28686ec6322ddb5aef314b97afc280c7d /kubernetes/consul
parent1830fc7e047319cc28e74ea315ce2a5653d59af3 (diff)
parent7965a8d204f901f92c13721b53c523f0c2b07bbe (diff)
Merge "Add consul health check for SMS"
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"
+ }
+ ]
+ }
+}
+