Open tmyroadctfig opened 7 months ago
I am encountering the same issue if I restart the Windows node.
I am not able to connect on the Windows nodeport but the nodeport on Linux works. Looking into it further there appears to be missing HNS Endpoints after the node is restarted. Only the Outbound NAT endpoint for routing to the Linux node pod network appears which explains how it's able to connect on the Linux nodeport.
Tested k8s with calico.
At first windows pod networking didn't work at all. Applied the registry fix from https://github.com/microsoft/Windows-Containers/issues/516
Then tested restarting the windows node. HNS Endpoints missing. Found https://github.com/projectcalico/calico/issues/5164. Deleted the service and deployment, reapplied the manifest and endpoints came back.
Retested k3s+flannel with the registry fix. Networking still broken after node restart. Doesn't matter if resources are deleted and reapplied.
Describe scenario I've set up a single machine k3s cluster with a linux and Windows worker node, and deployed the sample applications:
Question I can't seem to access the Windows sample container service, either from the host machine, or from the linux pods. Is any further setup required to get the Windows worker node networking setup correctly?
FWIW, running a web request from the Windows node to the linux node is working without any issues: