ingress-nginx-helm/examples/aws/nginx
Mohammad Asif Siddiqui 2007de9681 Minor Typo fix
2017-08-16 23:41:14 +08:00
..
nginx-ingress-controller.yaml Release nginx 0.9.0-beta.11 2017-07-15 13:56:38 -04:00
README.md Minor Typo fix 2017-08-16 23:41:14 +08:00

NGINX Ingress running in AWS

This example shows how is possible to use the nginx ingress controller in AWS behind an ELB configured with Proxy Protocol.

kubectl create -f ./nginx-ingress-controller.yaml

This command creates:

  • a default backend deployment and service.
  • a service with type: LoadBalancer configuring Proxy Protocol in the ELB (service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: '*').
  • a configmap for the ingress controller enabling proxy protocol in NGINX (use-proxy-protocol: "true")
  • a deployment for the ingress controller

Is the proxy protocol necessary?

No but only enabling the protocol is possible to keep the real source IP address requesting the connection.

References