How to change service type to ALB in AWS EKS? How to change service type to ALB in AWS EKS? kubernetes kubernetes

How to change service type to ALB in AWS EKS?


You need to use the ALB Ingress Controller.

The AWS ALB Ingress Controller for Kubernetes is a controller that triggers the creation of an Application Load Balancer (ALB) and the necessary supporting AWS resources whenever an Ingress resource is created on the cluster with the kubernetes.io/ingress.class: alb annotation.

This is the git-repo, and these are the annotations you can include on your Ingress, and this is the helm chart you can use to deploy it if you prefer.

As an anecdote, it works great. The only downside is it creates one ALB per Ingress. To get around this I have been using the merge-ingress-controller in conjunction with it, which results in one ALB for multiple ingresses.