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
|
@ -242,12 +242,20 @@ job "elk" {
|
||||||
port = "web"
|
port = "web"
|
||||||
provider = "consul"
|
provider = "consul"
|
||||||
|
|
||||||
|
check {
|
||||||
|
type = "tcp"
|
||||||
|
port = "web"
|
||||||
|
interval = "5s"
|
||||||
|
timeout = "2s"
|
||||||
|
}
|
||||||
|
|
||||||
check {
|
check {
|
||||||
type = "http"
|
type = "http"
|
||||||
port = "web"
|
port = "web"
|
||||||
path = "/api/status"
|
path = "/api/status"
|
||||||
interval = "5s"
|
interval = "5s"
|
||||||
timeout = "2s"
|
timeout = "2s"
|
||||||
|
on_update = "ignore"
|
||||||
}
|
}
|
||||||
|
|
||||||
tags = [
|
tags = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue