Increase ELB idle timeouts [ci skip]

This commit is contained in:
Manuel de Brito Fontes 2017-11-13 22:33:48 -03:00
parent b2a4f5dccd
commit cc7fd9ee66
2 changed files with 5 additions and 0 deletions

View file

@ -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:

View file

@ -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: