Join us for Kubernetes Forums Seoul, Sydney, Bengaluru and Delhi – learn more at kubecon.io
Don’t miss KubeCon + CloudNativeCon 2020 events in Amsterdam March 30 – April 2, Shanghai July 28-30 and Boston November 17-20! Learn more at kubecon.io. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy, and all of the other CNCF-hosted projects
Going from 5s to 5ms: Benefits of a Node-Local DNSCache – Pavithra Ramesh, Google & Blake Barnett, Postmates
DNS is one of the most heavily used services in Kubernetes clusters.The kubernetes community has long struggled with these mysterious 5s connection delays or DNS failures. This talk discusses how this problem is (mostly!) solved with the node-local DNSCache, a feature introduced in Kubernetes 1.13. We’ll start by diving into the DNS problem, the motivation for the feature as well as the design and implementation. Attendees will learn how to use this feature on their clusters. In addition to the latency issue itself, visibility into DNS has been a pain point for many users. Not any more! The metrics exposed by the local DNSCache provides insight into user workloads’ DNS needs. We’ll show some of these metrics, along with a demo of how the feature works. Finally, we will share the performance improvements observed in a large-scale production deployment running node-local DNS Cache.