Merge pull request #1706 from aledbf/elb-timeout
Increase ELB idle timeouts [ci skip]
This commit is contained in:
commit
f19a3bec94
2 changed files with 5 additions and 0 deletions
|
@ -6,7 +6,10 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app: ingress-nginx
|
app: ingress-nginx
|
||||||
annotations:
|
annotations:
|
||||||
|
# Enable PROXY protocol
|
||||||
service.beta.kubernetes.io/aws-load-balancer-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:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
|
|
|
@ -12,6 +12,8 @@ metadata:
|
||||||
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
|
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
|
||||||
# Map port 443
|
# Map port 443
|
||||||
service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https"
|
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:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
|
|
Loading…
Reference in a new issue