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

推荐订阅源

人人都是产品经理
人人都是产品经理
博客园_首页
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
小众软件
小众软件
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
V
V2EX
酷 壳 – CoolShell
酷 壳 – CoolShell
IT之家
IT之家
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Announcements
Recent Announcements
M
MIT News - Artificial intelligence
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog

1.0.0 on CoreDNS: DNS and Service Discovery

暂无文章

CoreDNS-1.0.0 Release
coredns · 2017-12-02 · via 1.0.0 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.