feat: add health check status codes
This commit is contained in:
parent
f73fdc5d1c
commit
59d68d3919
1 changed files with 4 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ resource "hcloud_load_balancer_service" "ingress_workers_tcp_80" {
|
||||||
|
|
||||||
http {
|
http {
|
||||||
path = "/healthz"
|
path = "/healthz"
|
||||||
|
|
||||||
|
status_codes = ["2??", "3??"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -54,6 +56,8 @@ resource "hcloud_load_balancer_service" "ingress_workers_tcp_443" {
|
||||||
|
|
||||||
http {
|
http {
|
||||||
path = "/healthz"
|
path = "/healthz"
|
||||||
|
|
||||||
|
status_codes = ["2??", "3??"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue