refactor(elk): comment out health check configuration in jobspec
This commit is contained in:
parent
e03315494c
commit
0ee175d00c
1 changed files with 12 additions and 9 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue