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"
|
||||
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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue