CoreDNS and Kubernetes John Belamaric, Principal Architect, Infoblox
What Is CoreDNS? http://coredns.io Flexible, extensible DNS server for Cloud Native Service Discovery From author of SkyDNS2, Miek Gieben Kubernetes integration for Service Discovery alternative to Kube- DNS Highly extensible via implementation of new middleware
Middleware Features enabled via middleware components Caching (negative and positive) Metrics (Prometheus) Proxy (query forwarding), Load balancing Logging Many more at https://github.com/miekg/coredns/tree/master/middleware Kubernetes middleware uses k8s API as data source Multiple data sources concurrently for different zones
Roadmap Service Registration & Discovery as in CNCF Architecture Short term: etcd middleware for dynamic registration with different zone Long term: offer a native registration function (maybe) Policy Engine for managing Service Registration & Discovery Extensible policies for security, rolling upgrades, telemetry-based load balancing and more Working on high-perf policy engine to open source in the future (anyone want to help?) Access data via REST, gRPC Mesos support What would you like to see?
Try It Out Runs as a Kubernetes service Point cluster_dns at it and it’s ready to go See http://coredns.io for a blog on running it in your cluster Contact me with any questions, comments, ideas, problems https://github.com/miekg/coredns @johnbelamaric or jbelamaric@infoblox.com Love to hear from you on: Use cases Production opportunities New contributors