Can I Use Traefik Ingress Controller on AWS EKS Without a Load Balancer?

0
4
Asked By TechieNinja42 On

I'm diving into the Kubernetes ecosystem and I'm specifically looking at AWS solutions. We have an EKS cluster set up with three nodes in private subnets within a VPC. Currently, we're using an Application Load Balancer to manage incoming traffic for both internal and external sources. I'm curious if it's feasible to run a Traefik ingress controller without relying on an AWS Application Load Balancer (ALB) or a Network Load Balancer (NLB) in front of the cluster.

3 Answers

Answered By DevDude77 On

Yeah, you can do it, but it’s not what I’d recommend as a best practice. If you're looking to use an internal ingress without an ALB, it'd be better to use an NLB for layer 4 routing. Just keep in mind that pod and node IPs are temporary.

Answered By CloudWizard99 On

You can technically link your DNS straight to the Traefik's pod or node IP, but that's not really ideal since those IPs can change. Doing that could lead to availability problems when you add or remove nodes and pods.

Answered By K8sExpert28 On

Definitely possible! You can install the Traefik ingress controller, set up External DNS to manage this by adding an annotation to your service that picks up the host IP. Then use Route 53 to create multi-record names in your hosted zone. It can work for certain scenarios, but just make sure you understand the implications before going down this road. 😊

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.