feat(ingress): add health check configuration for ALB

Add health check settings to the ALB ingress configuration to ensure 
better reliability and monitoring. The changes include defining the 
health check path, interval, timeout, and threshold counts, which 
enhance the resilience of the service by enabling quicker detection 
and response to unhealthy instances.
This commit is contained in:
2025-11-04 11:33:05 +01:00
parent da8c2fea2d
commit 0f0553f756
+5
View File
@@ -9,6 +9,11 @@ metadata:
alb.ingress.kubernetes.io/target-type: instance
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80},{"HTTPS": 443}]'
alb.ingress.kubernetes.io/ssl-redirect: "443"
alb.ingress.kubernetes.io/healthcheck-path: "/health"
alb.ingress.kubernetes.io/healthcheck-interval-seconds: "30"
alb.ingress.kubernetes.io/healthcheck-timeout-seconds: "5"
alb.ingress.kubernetes.io/healthy-threshold-count: "2"
alb.ingress.kubernetes.io/unhealthy-threshold-count: "2"
spec:
ingressClassName: "alb"
rules: