Kubernetes DNS resolution not working on a new cluster #10131
-
ProblemKubernetes DNS resolution doesn't seem to be working in my freshly created cluster. I was trying to install MetalLB on a freshly created Talos cluster via helm. The chart itself installed just fine, however adding
Trying to debug it, I followed this guide and I could see that none of my requests end up in the CoreDNS pods. ContextI'm trying to create a cluster on VMware VSphere using latest (1.9.1) Talos distribution. I have all nodes in their own subnet and they are all using my internal DNS servers specified in I tried different configurations for I also tried adding It feels that I'm doing something wrong here or I'm missing a critical detail about how that's supposed to work, so I'll grateful for any help! ConfigsHere are the patches that I apply to the default config:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you're on VMWare, and using a CNI with packet encapsulation (like default Flannel), VMWare default A usual workaround is to use Intel NIC emulation on VMWare side. So probably CNI doesn't work which leads to CoreDNS being unavailable. You don't need to change any defaults to make it working, it should work out of the box. |
Beta Was this translation helpful? Give feedback.
If you're on VMWare, and using a CNI with packet encapsulation (like default Flannel), VMWare default
vmxnet
driver has issues that it doesn't handle it properly.A usual workaround is to use Intel NIC emulation on VMWare side.
So probably CNI doesn't work which leads to CoreDNS being unavailable. You don't need to change any defaults to make it working, it should work out of the box.