summaryrefslogtreecommitdiffstats
path: root/kubernetes/config/docker
diff options
context:
space:
mode:
authormayankg2703 <mayank.gupta@amdocs.com>2018-01-05 07:15:54 +0000
committerAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-01-09 13:11:08 +0000
commite7da64e15ac463e7c0684fd6dbfd5bbff7ed4161 (patch)
tree2e91c77e73a561d456f20beeacf7ec10dbb719ed /kubernetes/config/docker
parent678ae0eba6bde06c04b9ae9f889713285f6061df (diff)
SDNC portal heatlh check
Issue-ID: OOM-44 Change-Id: I1eef28a44d948ce8246cf03135d34bfc4e9d99e0 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
Diffstat (limited to 'kubernetes/config/docker')
-rw-r--r--kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-portal-health.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-portal-health.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-portal-health.json
new file mode 100644
index 0000000000..3ecc1b3f53
--- /dev/null
+++ b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-portal-health.json
@@ -0,0 +1,21 @@
+{
+ "service": {
+ "name": "Health Check: SDNC Portal",
+ "checks": [
+ {
+ "id": "sdnc-portal",
+ "name": "SDNC Portal Health Check",
+ "http": "http://sdnc-portal.onap-sdnc:8843/login",
+ "method": "HEAD",
+ "header": {
+ "Cache-Control": ["no-cache"],
+ "Content-Type": ["application/json"],
+ "Accept": ["application/json"]
+ },
+ "tls_skip_verify": true,
+ "interval": "15s",
+ "timeout": "1s"
+ }
+ ]
+ }
+}