I am trying to setup Application Load Balancer to forward traffic to Nginx Ingress controller in AWS. To set up Nginx Ingress controller, I am using this YML which I got it from the installation instructions.
After deployment, everything is working fine and traffic is being forwarded to EKS pods correctly. However, the above YML file is creating 'Classic Load Balancer' in aws where as I want to create 'Application Load Balancer'. I changed 'service.beta.kubernetes.io/aws-load-balancer-type: elb' to 'service.beta.kubernetes.io/aws-load-balancer-type: alb' but still it is creating classic load balancer in AWS.
Please help in setting up the desired LB. Thanks in advance.
If you want to use ALB (Application Load Balancer) instead of NLB (Network Load Balancer), you need to use AWS ALB Ingress Controller with External DNS, not the NGINX Ingress Controller. See the details in this official doc and this official AWS ALB Ingress Controller doc
I hope that answers your problems.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With