All the instructions required to deploy this cluster is recorded in the github repository here.

The final task is to deploy a DNS server solution to our cluster.

As with networking this is again very easy. Simply apply the coredns manifest file which will deploy a service account, cluster role, role bindings, configmap, the deployment that hosts coredns and the service object.

Wait for the pods to be deployed. Once they are running, verify that they are working correctly, by deploying a pod. We will use the kubectl run command to deploy a busy-box image.

Then from within the busybox image perform an NS lookup for kubernetes. It should resolve to the IP of the DNS server. Well that’s it for this demo.


Install Kubernetes from Scratch [17] - CoreDNS
1.10 GEEK