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:
@@ -9,6 +9,11 @@ metadata:
|
|||||||
alb.ingress.kubernetes.io/target-type: instance
|
alb.ingress.kubernetes.io/target-type: instance
|
||||||
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80},{"HTTPS": 443}]'
|
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80},{"HTTPS": 443}]'
|
||||||
alb.ingress.kubernetes.io/ssl-redirect: "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:
|
spec:
|
||||||
ingressClassName: "alb"
|
ingressClassName: "alb"
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
Reference in New Issue
Block a user