ExternalDNS

Definition

ExternalDNS is a Kubernetes add-on that automates the management of DNS records for Kubernetes resources. It dynamically updates DNS entries in external DNS providers based on the state of Kubernetes resources, such as Services and Ingresses, allowing for seamless integration between Kubernetes and DNS systems. This automation helps ensure that DNS records are always up-to-date with the current state of the cluster, reducing manual intervention and potential errors.

Secure Settings Example

apiVersion: v1
kind: ConfigMap
metadata:
  name: external-dns-config
  namespace: kube-system
data:
  provider: aws
  domain-filter: example.com
  policy: upsert-only
  txt-owner-id: my-cluster
  registry: txt

Insecure Settings Example

apiVersion: v1
kind: ConfigMap
metadata:
  name: external-dns-config
  namespace: kube-system
data:
  provider: aws
  domain-filter: ""
  policy: sync
  txt-owner-id: ""
  registry: txt