diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-02-06 13:33:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-06 13:33:47 +0000 |
commit | 24d4289ae86401972536b8a5b54124150bfe9a4e (patch) | |
tree | eca36267a5caa4608cda13890d1b6a09530bbae1 /kubernetes/config/docker | |
parent | 4f285ee91eb4bdeba4f12f484dca146cec550248 (diff) | |
parent | 7da69142a37eae51baa71bc92d571ad26491f690 (diff) |
Merge "health check of log elastic search"
Diffstat (limited to 'kubernetes/config/docker')
-rw-r--r-- | kubernetes/config/docker/init/src/config/consul/consul-agent-config/log-elastic-search.json | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kubernetes/config/docker/init/src/config/consul/consul-agent-config/log-elastic-search.json b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/log-elastic-search.json new file mode 100644 index 0000000000..7785502018 --- /dev/null +++ b/kubernetes/config/docker/init/src/config/consul/consul-agent-config/log-elastic-search.json @@ -0,0 +1,23 @@ +{ + "service": { + "name": "Health Check: Log - Elastic Search", + "checks": [ + { + "id": "log-elasticsearch-server", + "name": "Log Elastic Search Health Check", + "http": "http://elasticsearch.onap-log:9200/_cluster/health?pretty", + "method": "GET", + "tls_skip_verify": true, + "interval": "15s", + "timeout": "1s" + }, + { + "id": "log-elasticsearch-tcp", + "name": "Log Elastic Search TCP Health Check", + "tcp": "elasticsearchtcp.onap-log:9300", + "interval": "15s", + "timeout": "1s" + } + ] + } +} |