refactor(elk): comment out health check configuration in jobspec

This commit is contained in:
Ben Martin 2024-12-21 22:36:54 +00:00
parent e03315494c
commit 0ee175d00c
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -127,15 +127,18 @@ job "elk" {
provider = "consul" provider = "consul"
port = "http" port = "http"
check { # check {
type = "http" # type = "http"
protocol = "https" # protocol = "https"
tls_skip_verify = true # tls_skip_verify = true
port = "http" # port = "http"
path = "/_cluster/health?local=true&wait_for_status=yellow" # path = "/_cluster/health?local=true&wait_for_status=yellow"
interval = "5s" # interval = "5s"
timeout = "2s" # timeout = "2s"
} # header {
# Authorization = ["Bearer {{ with nomadVar "nomad/elk/node/elasticsearch" }}{{.healthcheck_token}}{{ end }}"]
# }
# }
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",