Skip to content

Resolve with kube-dns on your Kubernetes cluster nodes.

License

Notifications You must be signed in to change notification settings

snormore/kube-node-dns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ Use at your own risk, this has not been tested very well yet.

Kubernetes cluster nodes do not use kube-dns by default, and so won't resolve in-cluster service DNS names at the host-level. This repo provides a DaemonSet that updates /etc/resolv.conf on all of the hosts to use kube-dns.

Deploy

kubectl apply -f https://raw.githubusercontent.com/snormore/kube-node-dns/master/daemonset.yaml

Example

This issue is often encountered when trying to set up the NFS example from https://github.com/kubernetes/examples/tree/master/staging/volumes/nfs, where the service name resolution fails because the cluster host does not use kube-dns: kubernetes/kubernetes#44528

About

Resolve with kube-dns on your Kubernetes cluster nodes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published