chore(elk): define health and readiness checks for kibana
Some checks failed
Terraform CI/CD / Terraform Format, Validate, Lint, Scan (push) Successful in 4m34s
Terraform CI/CD / Terraform Plan (push) Has been skipped
Terraform CI/CD / Terraform Apply (push) Failing after 2m28s

- status endpoint checks for readiness of underlying elastic nodes
This commit is contained in:
Ben Martin 2025-04-27 07:05:09 +00:00
parent 884f108c65
commit 866ec881da

View file

@ -243,13 +243,21 @@ job "elk" {
provider = "consul"
check {
type = "http"
type = "tcp"
port = "web"
path = "/api/status"
interval = "5s"
timeout = "2s"
}
check {
type = "http"
port = "web"
path = "/api/status"
interval = "5s"
timeout = "2s"
on_update = "ignore"
}
tags = [
"traefik.enable=true",
"traefik.http.routers.kibana.rule=Host(`kibana.brmartin.co.uk`)",