ingress-nginx-helm/deploy/aws/l4/service-l4.yaml

14 lines
518 B
YAML
Raw Normal View History

2017-10-13 10:55:03 -03:00
kind: Service
apiVersion: v1
metadata:
name: ingress-nginx
annotations:
2017-11-13 22:33:48 -03:00
# Enable PROXY protocol
service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
# Ensure the ELB idle timeout is less than nginx keep-alive timeout. By default,
# NGINX keep-alive is set to 75s. If using WebSockets, the value will need to be
# increased to '3600' to avoid any potential issues.
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "60"
2017-10-13 10:55:03 -03:00
spec:
externalTrafficPolicy: Cluster