github.com/nginxinc/kubernetes-ingress@v1.12.5/deployments/service/loadbalancer-aws-elb.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: nginx-ingress
     5    namespace: nginx-ingress
     6    annotations:
     7      service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "tcp"
     8      service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
     9  spec:
    10    type: LoadBalancer
    11    ports:
    12    - port: 80
    13      targetPort: 80
    14      protocol: TCP
    15      name: http
    16    - port: 443
    17      targetPort: 443
    18      protocol: TCP
    19      name: https
    20    selector:
    21      app: nginx-ingress