From 0f0553f7560ccd3c073239044562cae440f91297 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 4 Nov 2025 11:33:05 +0100 Subject: [PATCH] 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. --- k8s/ingress-prod.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/k8s/ingress-prod.yaml b/k8s/ingress-prod.yaml index 9220031..37fc8ac 100644 --- a/k8s/ingress-prod.yaml +++ b/k8s/ingress-prod.yaml @@ -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: