1
0
Fork 0

feat: add health check status codes

This commit is contained in:
Vojtěch Mareš 2024-11-20 19:41:16 +01:00
parent f73fdc5d1c
commit 59d68d3919
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -34,6 +34,8 @@ resource "hcloud_load_balancer_service" "ingress_workers_tcp_80" {
http {
path = "/healthz"
status_codes = ["2??", "3??"]
}
}
}
@ -54,6 +56,8 @@ resource "hcloud_load_balancer_service" "ingress_workers_tcp_443" {
http {
path = "/healthz"
status_codes = ["2??", "3??"]
}
}
}