You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When CoreDNS pod on Linux node restarts and receives a new cluster IP, endpoints/endpointslices in Kubertenes are updated with new pod IP, but on Windows worker HNS Endpoint still holds the old IP address. Kubernetes restart on Windows doesn't help, need to delete all stuff and re-join node to cluster again.
To Reproduce
Deploy a cluster with 3 Linux master nodes.
Join 1 Windows worker node.
Start sample workload on Windows node (used mcr.microsoft.com/dotnet/framework/samples:aspnetapp)
Exec into Windows pod with cmd, type nslookup, observe working output
and in output IPAddress would be old CoreDNS pod IP address, not the new one.
Expected behavior
HNS Endpoint would be updated with new IP address after CoreDNS pod restart
Kubernetes (please complete the following information):
Windows Server version: 2019 (10.0.17763.6293)
Kubernetes Version: 1.28 - 1.31.1
CNI: flannel
Additional context
The deployment is done with k3s all in one binary, which could make some influence here, but the issue looks like in Kubernetes itself.
The one thing I didn't test is what would happen if I would update HNS Endpoint with the new pod IP, but unfortunately I didn't find a way to perform such update. Any ideas? :)
The text was updated successfully, but these errors were encountered:
Describe the bug
When CoreDNS pod on Linux node restarts and receives a new cluster IP, endpoints/endpointslices in Kubertenes are updated with new pod IP, but on Windows worker HNS Endpoint still holds the old IP address. Kubernetes restart on Windows doesn't help, need to delete all stuff and re-join node to cluster again.
To Reproduce
server <new_coredns_pod_ip>
, and after timeout try to resolve any dns name (for example c.cc), you would see that connectivity is working.you will see the output like this
and in output IPAddress would be old CoreDNS pod IP address, not the new one.
Expected behavior
HNS Endpoint would be updated with new IP address after CoreDNS pod restart
Kubernetes (please complete the following information):
Additional context
The deployment is done with k3s all in one binary, which could make some influence here, but the issue looks like in Kubernetes itself.
The one thing I didn't test is what would happen if I would update HNS Endpoint with the new pod IP, but unfortunately I didn't find a way to perform such update. Any ideas? :)
The text was updated successfully, but these errors were encountered: