Kubernetes: Kube-DNS vs. CoreDNS Kubernetes: Kube-DNS vs. CoreDNS kubernetes kubernetes

Kubernetes: Kube-DNS vs. CoreDNS


I have K8S 1.12. Do a describe of the dns pod.

kubectl describe pod coredns-576cbf47c7-hhjrs --namespace=kube-system | grep -i "image:"

Image: k8s.gcr.io/coredns:1.2.2

Looks like coredns is running. According to the documentation CoreDNS is default from K8S 1.11. For previous installations it's kube-dns.

The image is what important, rest are metadata (names, labels etc).

According to the K8S blog here.

In Kubernetes 1.11, CoreDNS has reached General Availability (GA) for DNS-based service discovery, as an alternative to the kube-dns addon. This means that CoreDNS will be offered as an option in upcoming versions of the various installation tools. In fact, the kubeadm team chose to make it the default option starting with Kubernetes 1.11.

Also, see this link for more info.