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