January 11, 2020

203 words 1 min read

Lightning Talk: CoreDNS Over gRPC: Reliable Service Discovery for Kubernetes

Lightning Talk: CoreDNS Over gRPC: Reliable Service Discovery for Kubernetes

While service discovery in Kubernetes may be provided via multiple mechanisms, DNS is the most commonly used and highly recommended for its ease of use. One challenge with DNS-based service discovery …

Talk Title Lightning Talk: CoreDNS Over gRPC: Reliable Service Discovery for Kubernetes
Speakers Yong Tang (Director of Engineering, MobileIron)
Conference KubeCon + CloudNativeCon North America
Conf Tag
Location Seattle, WA, USA
Date Dec 9-14, 2018
URL Talk Page
Slides Talk Slides
Video

While service discovery in Kubernetes may be provided via multiple mechanisms, DNS is the most commonly used and highly recommended for its ease of use. One challenge with DNS-based service discovery though is the unreliable nature of the UDP protocol used by DNS. There is no guarantee of the delivery for the query and response of service records. In this discussion, we provide a mechanism of CoreDNS over gRPC to address the reliability issue of DNS-based service discovery. As a flexible DNS server, CoreDNS is capable of transport over multiple protocols besides traditional UDP. With DNS over gRPC for inter-node communication and normal UDP for local-node DNS serving, we are able to achieve the much-needed reliability while maintaining the easy-to-use DNS front end for service discovery in Kubernetes clusters.

comments powered by Disqus