flannel-io / flannel

flannel is a network fabric for containers, designed for Kubernetes
Apache License 2.0
8.74k stars 2.87k forks source link

Hello, does Flannel (--iface) have a way to configure the network interface through NodeInternalIP like Calico, without specifying the --iface parameter in a multi-network interface environment? #1849

Closed oomgomgxx closed 2 months ago

oomgomgxx commented 9 months ago

Similar to this: https://projectcalico.docs.tigera.io/networking/ip-autodetection#change-the-autodetection-method

rbrtbnfgl commented 9 months ago

No flannel doesn't have an IP autodetecting logic like Calico. K3s has some additional code to configure the right parameters on Flannel to choose the right interface. There should be a public-ipv-overwrite configuration but it's not working as expected #1813 I'm still checking the logic.

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.