From 25352e2074ea82cc8a6fa93f50786c20a4f9c32a Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Mon, 13 Nov 2017 22:33:48 -0300 Subject: [PATCH] Increase ELB idle timeouts [ci skip] --- deploy/provider/aws/service-l4.yaml | 3 +++ deploy/provider/aws/service-l7.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/deploy/provider/aws/service-l4.yaml b/deploy/provider/aws/service-l4.yaml index b8de049d6..c22f57927 100644 --- a/deploy/provider/aws/service-l4.yaml +++ b/deploy/provider/aws/service-l4.yaml @@ -6,7 +6,10 @@ metadata: labels: app: ingress-nginx annotations: + # Enable PROXY protocol service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*' + # Increase the ELB idle timeout to avoid issues with WebSockets or Server-Sent Events. + service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '3600' spec: type: LoadBalancer selector: diff --git a/deploy/provider/aws/service-l7.yaml b/deploy/provider/aws/service-l7.yaml index a1bb0b307..404c2c4af 100644 --- a/deploy/provider/aws/service-l7.yaml +++ b/deploy/provider/aws/service-l7.yaml @@ -12,6 +12,8 @@ metadata: service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http" # Map port 443 service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https" + # Increase the ELB idle timeout to avoid issues with WebSockets or Server-Sent Events. + service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: '3600' spec: type: LoadBalancer selector: