kubernetes-sigs / external-dns

Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services
Apache License 2.0
7.58k stars 2.54k forks source link

AAAA records for AWS NLB(Network Load Balancers) are not created #4509

Open nakamume opened 3 months ago

nakamume commented 3 months ago

When creating an AWS Network-load-balancer in dual-stack mode, external-dns does not create a AAAA record in route53. It works perfectly fine in the same setup with an ALB

What happened: Only an A record is created

What you expected to happen: an AAAA record to be created

How to reproduce it (as minimally and precisely as possible): Deploy the following service:

apiVersion: v1
kind: Service
metadata:
  namespace: default
  name: nlb-sample-service
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-type: external
    service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip
    service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
    external-dns.alpha.kubernetes.io/hostname: my.host.example.com
    service.beta.kubernetes.io/aws-load-balancer-ip-address-type: dualstack
spec:
  ports:
    - name: http
      port: 80
      targetPort: 80
      protocol: TCP
    - name: https
      port: 443
      targetPort: 80
      protocol: TCP
  type: LoadBalancer
  selector:
    app: nginx

Anything else we need to know?:

Environment:

External-DNS version (use external-dns --version): 0.14.2 DNS provider: AWS-route53

k8s-triage-robot commented 3 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

alex-berger commented 1 week ago

/remove-lifecycle stale

alex-berger commented 1 week ago

This is a recurring theme https://github.com/kubernetes-sigs/external-dns/issues/3707, and it would be nice to get support for dualstack NLBs.