Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: DNS does not work with Ubuntu 18.04 / Netplan #3334

Closed
AtzeDeVries opened this issue Sep 18, 2018 · 0 comments · Fixed by #3335
Closed

BUG: DNS does not work with Ubuntu 18.04 / Netplan #3334

AtzeDeVries opened this issue Sep 18, 2018 · 0 comments · Fixed by #3335

Comments

@AtzeDeVries
Copy link
Contributor

Netplan (supplied with stock Ubuntu 18.04) changes some stuff around DNS config. Kubernetes by default uses /etc/resolv.conf for dns configuration. With Ubuntu 18.04 the info in /etc/resolv.conf is not correct. Pods running are unable to resolve external dns requests.
The kubespray var kube_resolv_conf should point to /run/systemd/resolve/resolv.conf.

There is a simulair bug report on this in kubespray but the solotion over there didn't work for me (#3035). There is also a report in the kubernetes/kubeadm repo on this: kubernetes/kubeadm#787

I also have a PR ready for a fix on this. This will be available shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant