BOARD HELP VmWare Products

General Category => Kubernetes & Containers with VMware => Topic started by: Andrea on Sep 30, 2024, 12:00 AM

Title: Multi-cluster ingress with external-dns
Post by: Andrea on Sep 30, 2024, 12:00 AM
External-dns in two EKS clusters keeps fighting over DNS records. This is why Kubernetes networking sucks!
Title: Re: Multi-cluster ingress with external-dns
Post by: Paul Davis on Sep 30, 2024, 09:15 AM
No, this is why YOU suck at configs! Set proper annotations: external-dns.alpha.kubernetes.io/controller!
Title: Re: Multi-cluster ingress with external-dns
Post by: Andrea on Sep 30, 2024, 10:00 AM
Wow Johnny, so helpful. I've tried ALL the annotations. Maybe if you got your head out of AWS's marketing...
Title: Re: Multi-cluster ingress with external-dns
Post by: geek on Sep 30, 2024, 11:30 AM
This is why we moved to Linkerd + custom operators. External-dns is garbage for complex scenarios.
Title: Re: Multi-cluster ingress with external-dns
Post by: David Rodriguez on Sep 30, 2024, 12:00 PM
Or just use good old static DNS like sane people? All this "dynamic" crap causes more problems than it solves!
Title: Re: Multi-cluster ingress with external-dns
Post by: Paul Davis on Sep 30, 2024, 12:15 PM
Dan, are you seriously suggesting manual DNS in 2024? Next you'll tell us to use physical servers!
Title: Re: Multi-cluster ingress with external-dns
Post by: Emily Martinez on Sep 30, 2024, 01:00 PM
I solved this with a mutating webhook that adds cluster IDs to records. Code's on my GitHub if anyone cares.
Title: Re: Multi-cluster ingress with external-dns
Post by: Andrea on Sep 30, 2024, 01:30 PM
FINALLY a useful response! Igor, you're my hero. Johnny and Dan can keep measuring their... egos.
Title: Re: Multi-cluster ingress with external-dns
Post by: Daniel Johnson on Sep 30, 2024, 02:00 PM
Everyone calm down. Official solution: use ExternalDNS with --policy=sync and proper permissions.
Title: Re: Multi-cluster ingress with external-dns
Post by: Paul Davis on Sep 30, 2024, 02:30 PM
K8sAdmin gets it. The rest of you are reinventing the wheel because you can't read documentation.
Title: Re: Multi-cluster ingress with external-dns
Post by: Emily Martinez on Sep 30, 2024, 03:00 PM
--policy=sync doesn't work when clusters are in different AWS accounts! Real world is messy, Johnny.
Title: Re: Multi-cluster ingress with external-dns
Post by: Melissa Jackson on Sep 30, 2024, 04:00 PM
This thread proves Kubernetes networking is fundamentally broken. We need to rethink service meshes.
Title: Re: Multi-cluster ingress with external-dns
Post by: Andrea on Sep 30, 2024, 05:00 PM
THANK YOU CloudArchitect! At least someone here understands the real issue!
Title: Re: Multi-cluster ingress with external-dns
Post by: David Rodriguez on Sep 30, 2024, 06:00 PM
I'm just sitting here with my popcorn watching you all realize cloud-native is overengineered trash.
Title: Re: Multi-cluster ingress with external-dns
Post by: Paul Davis on Sep 30, 2024, 07:00 PM
Dan, your on-prem mindset is why you'll be unemployed in 5 years. Adapt or die.