How to Switch from Classic Load Balancer to Application Load Balancer for NGINX Ingress Controller?

0
7
Asked By CuriousGeorge42 On

Hey everyone! I've been using the Bitnami Helm chart to deploy the NGINX Ingress Controller and it's currently set up with a Classic Load Balancer on AWS. I want to switch it to an Application Load Balancer, and I think I've set the necessary annotation in my `values.yaml`: `beta.kubernetes.io/aws-load-balancer-type: "application"`. However, even after deleting and redeploying the ingress-controller, the AWS console still shows it as a Classic Load Balancer. Am I missing something here? Any help would be appreciated!

3 Answers

Answered By CloudWizard77 On

Have you considered using the official Helm chart instead? It might save you some headaches since it typically handles these configurations a bit more smoothly.

CuriousGeorge42 -

I chose Bitnami because I wanted consistent syntax across my charts, but I guess that’s a good point.

Answered By TechieCat88 On

If I remember correctly, you need to completely delete the current load balancer and create a new one. AWS services don’t automatically migrate types just by changing annotations. You’ll have to set up the new service yourself.

CuriousGeorge42 -

Oh, I see! I initially deleted the deployment, but I guess I didn't think about the load balancer itself.

Answered By DevOpsNinja46 On

Another option is the AWS Load Balancer Controller. It works really well and manages changes without downtime. Plus, you can run it alongside the NGINX Ingress Controller if you still need both.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.