chore(elk): define health and readiness checks for kibana
- status endpoint checks for readiness of underlying elastic nodes
This commit is contained in:
parent
884f108c65
commit
866ec881da
1 changed files with 10 additions and 2 deletions
|
@ -243,13 +243,21 @@ job "elk" {
|
||||||
provider = "consul"
|
provider = "consul"
|
||||||
|
|
||||||
check {
|
check {
|
||||||
type = "http"
|
type = "tcp"
|
||||||
port = "web"
|
port = "web"
|
||||||
path = "/api/status"
|
|
||||||
interval = "5s"
|
interval = "5s"
|
||||||
timeout = "2s"
|
timeout = "2s"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check {
|
||||||
|
type = "http"
|
||||||
|
port = "web"
|
||||||
|
path = "/api/status"
|
||||||
|
interval = "5s"
|
||||||
|
timeout = "2s"
|
||||||
|
on_update = "ignore"
|
||||||
|
}
|
||||||
|
|
||||||
tags = [
|
tags = [
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
"traefik.http.routers.kibana.rule=Host(`kibana.brmartin.co.uk`)",
|
"traefik.http.routers.kibana.rule=Host(`kibana.brmartin.co.uk`)",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue