-
Notifications
You must be signed in to change notification settings - Fork 282
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
DNS timeout in Windows #7381
Comments
There is a known issue in |
Unfortunately, this fix did not solve my issue. I still get DNS timeouts. Where should I look into next? I can expose the service with a LoadBalancer and access its IP address with no problem from the outside, so routing into the Windows container DOES work. The containers just don't seem to see the pod network, but there must be connectivity. |
Follow up: I tore down and re-created the Windows VM, and just after the Enable-WindowsOptionalFeature -Online -FeatureName containers –All and the reboot I adjusted the registry settings in the fix. I then proceeded with the installation and after that, it worked. Thanks! |
Environmental Info:
RKE2 Version:
Linux:
WIndows:
Node(s) CPU architecture, OS, and Version:
The Windows node is running Windows Server 2022.
Cluster Configuration:
Describe the bug:
When trying to do DNS from a Windows container, all DNS requests time out.
Steps To Reproduce:
curl -sfL https://get.rke2.io | sh -
ExecStart
line says:ExecStart=/usr/local/bin/rke2 server --cni flannel
kubectl exec -ti deploy/helloworld -- cmd
nslookup simple-server
Expected behavior:
The in-cluster IP address of
simple-server
should be resolvedActual behavior:
Additional context / logs:
Running RKE2 in the foreground on Windows doesn't yield anything special:
Flanneld logs:
Deploying a LoadBalancer like MetalLB, exposing the Linux service there and accessing the exposed IP from within the Windows container works. Only DNS gets dropped.
Followup
Might the problem be related to this?
I cannot seem to pull any of the rke2-runtime images with
ctr i pull
either. They all lead to the same problem.Followup 2
After investigating some more I found out that I can access none of the in-cluster IP addresses from Windows. It works from Linux, I can even
curl
the service running on Windows.The text was updated successfully, but these errors were encountered: