-
Notifications
You must be signed in to change notification settings - Fork 729
Closed
Labels
area/corednspriority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Milestone
Description
Currently, CoreDNS deployment is not mounted with the host's /etc/resolv.conf file. This prevents the CoreDNS from referring to the host's nameserver for DNS queries it cant resolve.
The corefile as defined in the coredns CM contains
forward . UPSTREAMNAMESERVER { max_concurrent 1000 }
https://github.com/coredns/deployment/blob/master/kubernetes/coredns.yaml.sed
The "UPSTREAMNAMESERVER " placeholder typically gets converted to /etc/resolv.conf during kubeadm init. But, it is no use since the file is empty and not mounted from the host file.
Would be better if the resolv.conf file could be mounted to the pod from the host via hostPath volume mount.
Metadata
Metadata
Assignees
Labels
area/corednspriority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.Lowest priority. Possibly useful, but not yet enough support to actually get it done.