-
Notifications
You must be signed in to change notification settings - Fork 229
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
[CNI] Worker nodes is fetching only first DNS server IP from custom DNS list #713
Comments
Can we get a timeline on this issue being fixed? I believe this is a result of a case I opened with Microsoft, we were severely impacted by this major bug when our domain controller went offline. All our clusters crashed because the worker nodes were not respecting all DNS servers configured in the VNET. INC: 120101621001721 |
@vakalapa do i need to restart my worker nodes for the change to take effect? |
@Kenneth-Abrams, we are currently discussing on the timeline and we will update soon on release date of new v1.2.0 Azure CNI plugin which will have "transparent" mode as default. In this mode, DNS servers will be updated as expected. If you want an immediate mitigation, If you use Azure CNI plugin with Calico policy, you can workaround this problem. |
@vakalapa |
Any word on when this is going to production? I just checked this evening and my clusters are still seeing 1 of 4 configured DNS servers from my VNET. |
@Kenneth-Abrams Just before the holidays newer version of CNI was released to production. In a new cluster, you should be able to see these DNS servers work. LMK if you see any issues in newer clusters. |
@vakalapa What about existing clusters? I shouldn't have to rebuild my environment for something introduced by a MS bug. |
Existing clusters get new cni versions when they upgrade (node image or k8s version upgrade) |
What happened:
There are 2 kinds of custom DNS server settings in Azure,
CNI is expecting the DNS servers to be printed as below:
This section needs to be updated:
azure-container-networking/network/network_linux.go
Lines 213 to 226 in 6fad74d
What you expected to happen:
Expected behavior is for Azure CNI to read Global DNS servers list & eth0 DNS servers list and configure azure0 with them.
How to reproduce it:
Go to worker node Azure VNET ->Settings -> DNS Servers:
Edit the option from "Default (Azure-provided)" to "Custom" and add additional DNS servers.
Worker node will need to be restarted for this change to get applied.
After the reboot, "systemd-resolve --status|grep 'DNS Servers' -A4 -B4" will show only the first DNS server from above change being applied
Orchestrator and Version (e.g. Kubernetes, Docker):
Kubernetes
Operating System (Linux/Windows):
Linux
Kernel (e.g.
uanme -a
for Linux or$(Get-ItemProperty -Path "C:\windows\system32\hal.dll").VersionInfo.FileVersion
for Windows):v5.4
The text was updated successfully, but these errors were encountered: