I am new to Kubernetes and looking for a better understanding of the difference between Kube-DNS and CoreDNS.
As I understand it the recommendation is to use the newer CoreDNS rather than the older Kube-DNS.
I have setup a small cluster using
kubeadm and now I am a little confused about the difference between CoreDNS and Kube-DNS.
kubectl get pods --all-namespaces I can see that I have two CoreDNS pods running.
kubectl get svc --all-namespaces I also see that I have a service named
kube-dns running in the
kube-system namespace. When I inspect that with
kubectl describe svc/kube-dns -n kube-system I can see that the
kube-dns service links to coredns.
I am now wondering if I am actually running both kube-dns and coredns. Or else, why is that service called
kube-dns and not