How do you scale CoreDNS and avoid DNS becoming an outage source?
AdvancedProductionKubernetes & Service Networking in Production
Answer
Run at least 2 replicas spread across nodes and zones with a PodDisruptionBudget, autoscale proportional to cluster size (cluster-proportional-autoscaler), enable NodeLocal DNSCache, tune cache and forward with multiple upstreams, set resource requests, and monitor coredns_dns_request_duration_seconds and coredns_forward_healthcheck_failures_total.
DNS storms come from ndots, retries and unnecessary lookups; fix at the client with connection reuse and caching.
More on Kubernetes & Service Networking in Production
How do you expose an application on Kubernetes to the internet in production?BeginnerALB IP mode versus instance mode on EKS: which should you use?IntermediateHow do you achieve graceful pod shutdown with no dropped requests?AdvancedHow do readiness, liveness and startup probes interact with traffic?BeginnerHow do you design default-deny NetworkPolicies without breaking DNS?IntermediateHow do you debug "pod cannot reach service" in Kubernetes?Advanced