-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Windows] Make internode pod communication work in the Windows environment #9295
Comments
Hi, could this be the reason that pod on Windows is unable to reach CoreDNS, and resolve both internal and external DNS names? |
I see that Linux nodes are annotated |
Yeah, I think the VNI mismatch is currently a blocker for mixed linux/windows nodes. I think Windows only support 4096? cc @manuelbuil Ref: https://github.com/kubernetes-sigs/sig-windows-tools/blob/master/guides/flannel.md
|
That's right, and it also wants name "vxlan0" set for flannel (see https://github.com/microsoft/SDN/tree/master/Kubernetes/flannel/overlay). I've ended up writing "override" configs to /var/lib/rancher/k3s/agent/etc/flannel and /var/lib/rancher/k3s/agent/etc/cni/net.d/ folders, and set them via --flannel-conf/--flannel-cni-conf parameters. |
I guess everything below 4096 is assumed to be a traditional 802.1q VLAN tag? The easiest way to handle this would probably be to wire up a new flannel option: |
As a follow-on from the initial work done in this issue, we've identified that internode pod communication may not be working on k3s in Windows OS. Please investigate this and provide a fix.
The expectation is that the solution honors what a CNI plugin should fulfill in a k8s cluster:
1 - Pods on different nodes can communicate to each other
2 - Node-pod communication works regardless of where the pod is running
At this initial step, only vxlan encapsulation is required to work
The text was updated successfully, but these errors were encountered: