-
Notifications
You must be signed in to change notification settings - Fork 292
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
[Known Issue] Private DNS with .local entries won't work after Kuberentes 1.18/Ubuntu 18. #2052
Comments
Relevant disucssion of this in systemd issue: systemd/systemd#13763 |
Also curious if setting ResolveUnicastSingleLabel=yes would unblock .local without completely disabling systemd. @xuto2 |
Seems that pods are not affected by this issue, even when using hostNetwork: After digging for a while it seems it's Makes sense since otherwise the loop plugin on the coredns cm would halt coredns due to the loopback circular reference. As discussed with @paulgmiller this will still impact nodes (ie: pulling images from a .local registry). |
@joaguas thanks a lot for sharing. It's true this doesn't affect pod traffic as we understand as well. The daemonset approach could be a temp mitigation while we're evaluating a permanent solution from aks node side. |
I'm not sure if it would, but a fix needs to encompass more than just .local |
1.17 End of Support is approaching pretty quick, is there official word from AKS on what they want us to do with this? We all run an unsupported daemonset to fix it? |
we're disabling resolved on all new 1804 VMs, the change is in release and expected to be done by next week. AKS release notes https://github.com/Azure/AKS/releases/tag/2021-03-08 also mentioned it. |
Action required from @Azure/aks-pm |
Issue needing attention of @Azure/aks-leads |
7 similar comments
Issue needing attention of @Azure/aks-leads |
Issue needing attention of @Azure/aks-leads |
Issue needing attention of @Azure/aks-leads |
Issue needing attention of @Azure/aks-leads |
Issue needing attention of @Azure/aks-leads |
Issue needing attention of @Azure/aks-leads |
Issue needing attention of @Azure/aks-leads |
Thanks for reaching out. I'm closing this issue as it was marked with "Answer Provided" and it hasn't had activity for 2 days. |
If your vitual network has custom dns server and uses a dns record that ends with .local then it will no longer work after your nodes go up to to ubuntu 18. This a happens automatically when you upgrade to k8s 1.17.
This is because ubuntu 18 usses syste
https://askubuntu.com/questions/917784/systemd-resolved-does-not-query-dns-server-for-local-domain
https://www.man7.org/linux/man-pages/man8/systemd-resolved.service.8.html
Temporary mitigations:
You can leave one agentpool behind on 1.17 but eventually you will need to use a different record in your private dns server.
Changing the /etc/resolve.conf symlink to point at the static /run/systemd/resolve/resolv.conf file may also work though not tested yet and we don't have a daemonset to do this for you.
We are working on fixing this.
The text was updated successfully, but these errors were encountered: