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"
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",