Cloud Intermediate
external-dns — automatické DNS záznamy¶
external-dnsDNSKubernetes 3 min read
Automatická synchronizace DNS záznamů z Kubernetes Services a Ingress.
Principle¶
external-dns sleduje Kubernetes Ingress/Service resources a automaticky vytváří DNS záznamy v CloudFlare, Route53, Azure DNS…
Deployment¶
apiVersion: apps/v1
kind: Deployment
metadata:
name: external-dns
spec:
template:
spec:
containers:
- name: external-dns
image: registry.k8s.io/external-dns/external-dns:v0.14
args:
- --source=ingress
- --domain-filter=example.com
- --provider=cloudflare
Usage¶
Stačí vytvořit Ingress s hostname — external-dns automaticky vytvoří A/CNAME záznam.
Summary¶
external-dns eliminuje ruční správu DNS. Vytvořte Ingress, DNS se postará samo.
Need Help with Implementation?¶
Our team has experience designing and implementing modern architectures. We’re happy to help.