CoreDNS Failures in Kubernetes

Diagnose and fix CoreDNS failures that cause cascading service-to-service connectivity failures in Kubernetes.

Overview

Overview

CoreDNS is the cluster DNS server: it resolves service names (myservice.namespace.svc.cluster.local), pod DNS names and external hostnames for every pod. Since best practice is to call services by name, a failing or overloaded CoreDNS breaks nearly all internal communication and looks like a full outage, even while the pods and control plane are healthy.

Key concepts

  • CoreDNS
  • ndots:5
  • NodeLocal DNSCache
  • Search Domains
  • FQDN

Interview questions

  • How do you diagnose whether CoreDNS is causing a service connectivity failure?
  • What is the ndots:5 amplification problem and how do you fix it?
  • How does NodeLocal DNSCache work and what are the operational steps to deploy it?

Sign up free to read the full topic

More Troubleshooting topics

Start free on Cariara · Coding problems · System design studio