From 0ee175d00c881621886bb5bfee94e2d8d37addc0 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Sat, 21 Dec 2024 22:36:54 +0000 Subject: [PATCH] refactor(elk): comment out health check configuration in jobspec --- modules/elk/jobspec.nomad.hcl | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/modules/elk/jobspec.nomad.hcl b/modules/elk/jobspec.nomad.hcl index 22cd246..e7191a9 100644 --- a/modules/elk/jobspec.nomad.hcl +++ b/modules/elk/jobspec.nomad.hcl @@ -127,15 +127,18 @@ job "elk" { provider = "consul" port = "http" - check { - type = "http" - protocol = "https" - tls_skip_verify = true - port = "http" - path = "/_cluster/health?local=true&wait_for_status=yellow" - interval = "5s" - timeout = "2s" - } + # check { + # type = "http" + # protocol = "https" + # tls_skip_verify = true + # port = "http" + # path = "/_cluster/health?local=true&wait_for_status=yellow" + # interval = "5s" + # timeout = "2s" + # header { + # Authorization = ["Bearer {{ with nomadVar "nomad/elk/node/elasticsearch" }}{{.healthcheck_token}}{{ end }}"] + # } + # } tags = [ "traefik.enable=true",