diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2017-12-20 15:41:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-12-20 15:41:47 +0000 |
commit | b57b52d235470536771d98d6e73fb015a91f76ca (patch) | |
tree | 1c1f3fce2f2c295c655e431201bc5f87fe81b80a /kubernetes/config/docker/init | |
parent | 34a6e790e402f1c7c291d92ea3a35630bc824d89 (diff) | |
parent | 0e2e9235409ded9c8806515f9ece4e8cd14f9a8f (diff) |
Merge "SDNC DG Builder Health Check using consul"
Diffstat (limited to 'kubernetes/config/docker/init')
-rw-r--r-- | kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json new file mode 100644 index 0000000000..051c4abb3a --- /dev/null +++ b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/sdnc-dgbuilder.json @@ -0,0 +1,22 @@ +{ + "service": { + "name": "Health Check: SDNC - DGBuilder", + "checks": [ + { + "id": "sdnc-dgbuilder", + "name": "SDNC-DGbuilder Health Check", + "http": "http://sdnc-dgbuilder.onap-sdnc:3000/", + "method": "HEAD", + "header": { + "Authorization": ["Basic ZGd1c2VyOnRlc3QxMjM="], + "Cache-Control": ["no-cache"], + "Content-Type": ["application/json"], + "Accept": ["application/json"] + }, + "tls_skip_verify": true, + "interval": "15s", + "timeout": "1s" + } + ] + } +} |