projectcalico / calico

Cloud native networking and network security
https://docs.tigera.io/calico/latest/about/
Apache License 2.0
6.02k stars 1.34k forks source link

Windows Pods IPs Unreachable #9272

Closed vincent-guillemette-fr closed 1 month ago

vincent-guillemette-fr commented 1 month ago

Hello Calico,

Following tutorials found on MicroK8s, I set up a cluster including :

Linux workloads work like a charm, but when I deploy pods on the Windows node, its IP cannot be reached at all.

Expected Behavior

To be able to ping Windows Pods from:

Current Behavior

Can only ping Pod from itself.

Would you be so kind to help me troubleshoot this behavior ?

coutinhop commented 1 month ago

@vincent-guillemette-fr could you please post details about your setup? Calico version, k8s version, Linux distro and version, Windows version, etc...

Taking a (rather wild, from the limited info) guess at what might be wrong, this could be this Windows containers bug https://github.com/microsoft/Windows-Containers/issues/516

Please take a look at this known issue https://github.com/projectcalico/calico/issues/9019 (Windows build 20348.2582 and up seems to break networking), there is a fix on this comment: https://github.com/projectcalico/calico/issues/9019#issuecomment-2341458640

vincent-guillemette-fr commented 1 month ago

@coutinhop Thank you for helping us. I'm afraid I'm a bit confused about all the components of the cluster and the information relevant to each one of them.

It's resolved, but we applied two fixes at a time, so I don't know which one, if not both, solved the connectivity issue:

vincent-guillemette-fr commented 1 month ago

We rolled back the network adapter switch and can then confirm we were affected by the bug you mentioned. Thank you again !