惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
爱范儿
爱范儿
WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
博客园 - 聂微东
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 三生石上(FineUI控件)
T
Tailwind CSS Blog
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Cloudflare Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
宝玉的分享
宝玉的分享
罗磊的独立博客
Jina AI
Jina AI

Notes on CoreDNS: DNS and Service Discovery

CoreDNS-1.14.5 Release CoreDNS-1.14.6 Release CoreDNS-1.14.4 Release CoreDNS-1.14.2 Release CoreDNS-1.14.3 Release CoreDNS-1.14.1 Release CoreDNS-1.14.0 Release CoreDNS-1.13.2 Release CoreDNS-1.13.1 Release CoreDNS-1.13.0 Release CoreDNS-1.12.4 Release CoreDNS-1.12.3 Release CoreDNS-1.12.2 Release CoreDNS-1.12.1 Release CoreDNS-1.12.0 Release CoreDNS-1.11.4 Release CoreDNS-1.11.3 Release CoreDNS-1.11.2 Release CoreDNS-1.11.1 Release CoreDNS-1.11.0 Release CoreDNS-1.10.1 Release CoreDNS-1.10.0 Release CoreDNS-1.9.4 Release CoreDNS-1.9.3 Release CoreDNS-1.9.2 Release CoreDNS-1.9.1 Release CoreDNS-1.9.0 Release CoreDNS-1.8.7 Release CoreDNS-1.8.6 Release CoreDNS-1.8.5 Release
CoreDNS-1.0.0 Release
coredns · 2017-12-02 · via Notes on CoreDNS: DNS and Service Discovery

We are pleased to announce the release of CoreDNS-1.0.0!

Release 1.0.0 and other recent releases have focused on improving the performance and functionality of the kubernetes plugin, since CoreDNS is now on track to eventually replace kube-dns as the default cluster DNS in Kubernetes.

As part of the Kubernetes proposal, we have shown that CoreDNS not only provides more functionality than kube-dns, but performs much better while using less memory. In our tests, CoreDNS running against a cluster with 5000 services was able to process 18,000 queries per second using 73MB of RAM, while kube-dns achieved 7,000qps using 97MB of RAM. This can be partial ascribed to CoreDNS simpler runtime - a single process instead of a combination of several processes.

CoreDNS also implements a number of Kubernetes-related features that are not part of kube-dns, including:

  • Filtering of records by namespace
  • Filtering of records by label selector
  • pods verified mode, which ensures that a Pod exists before returning an answer for a pod.cluster.local query
  • endpoint_pod_names which uses Pod names for service endpoint records if the hostname is not set
  • autopath which provides a server-side implementation of the namespace-specific search path. This can cut down the query latency from pods dramatically.

As a general-purpose DNS server, CoreDNS also enables many other use cases that would be difficult or impossible to achieve with kube-dns, such as the ability to create custom DNS entries.

We are excited to continue our contributions to the Kubernetes community, and CoreDNS is being incorporated as a 1.9 alpha feature into a variety of Kubernetes deployment mechanisms, including upcoming versions of kubeadm, kops, minikube, and kubespray.

Of course, there is more to 1.0.0 than just the Kubernetes work. See below for the details on all the changes.

Core

  • Fixed a bug in the gRPC server that prevented dnstap from working with it.
  • Additional fuzz testing to ferret out obscure bugs.
  • Documentation and configuration cleanups.

Plugins

  • log no longer accepts stdout in the configuration (use of a file was removed in a previous release). All logging is always to STDOUT. This is a backwards incompatible change, so be sure to check your Corefile for this.
  • health now checks plugins that support it for health and reflects that in the server health.
  • kubernetes now shows healthy only after the initial API sync is complete.
  • kubernetes has bug fixes and performance improvements.
  • kubernetes now has an option to use pod names instead of IPs in service endpoint records when the hostname is not set.
  • metrics have been revised to provide better histograms. You will need to change your Prometheus queries as metric names have changed to comply with Prometheus best practices.
  • erratic now supports the health check.

Contributors

The following people helped with getting this release done: Andy Goldstein, Ben Kochie, Brian Akins, Chris O’Haver, Christian Nilsson, John Belamaric, Max Schmitt, Michael Grosser, Miek Gieben, Ruslan Drozhdzh, Uladzimir Trehubenka, Yong Tang.

If you want to help, please check out one of the issues and start coding!

For documentation and help, see our community page.