onprema

EKS Networking Stuff I Learned About Today

I was working on the hands-on EKS Workshop today and learned a few new things.

AWS Load Balancer Controller

externalDNS

ExternalDNS makes Kubernetes resources discoverable via public DNS servers. Like KubeDNS, it retrieves a list of resources (Services, Ingresses, etc.) from the Kubernetes API to determine a desired list of DNS records. Unlike KubeDNS, however, it's not a DNS server itself, but merely configures other DNS providers accordingly—e.g. AWS Route 53 or Google Cloud DNS.

basically it handles the management of DNS records and integrates with Route53, so you don't have to manipulate Hosted Zone records manually!

Multiple Ingress pattern

By default each Ingress will result in the creation of a separate ALB, but we can leverage the IngressGroup feature which enables you to group multiple Ingress resources together. The controller will automatically merge Ingress rules for all Ingresses within IngressGroup and support them with a single ALB.

This would save money by reducing the number of ALBs you need.

#eks #kubernetes #networking