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
Etcd version: not revelant (the etcd included with kubernetes 1.30.6)
Kubernetes version (if used):kubernetes 1.30.6
Operating System and version: ubuntu 24.04
Context
i'm in single node kubernetes server based on k3s (i've disabled the integrated flannel to use the last version of this repository because the integrated version as the same problem).
i'm try to force vxlan udp listen on specific interface (not the public one), to avoid to expose the vxlan endpoint to my public interface.
my server as only one interface with public ip, first i've tryed to use looback but many part of kubernetes not whant to start correctly...
to avoid that i've created dummy interface name kubelet0 with private ip 192.168.0.1.
with that dummy interface i can force all part of kubernetes to listen on that ip (all work fine), but not the vxlan part of flannel...
i've tryed to force the interface with --iface but flanned continue to listen on any interface (0.0.0.0).
Current Behavior and Steps to Reproduce (for bugs)
i've added --iface <myifacename> to /opt/bin/flanneld.
i see in the pod log that flanneld use the good ip of my iface (a dummy interface kubelet0 configured with the ip 192.168.0.1) but continue to listen en any address (0.0.0.0):
kube-flannel I1118 12:27:43.378063 1 match.go:264] Using interface with name kubelet0 and address 192.168.0.1
kube-flannel I1118 12:27:43.378100 1 match.go:286] Defaulting external address to interface address (192.168.0.1)
Expected Behavior
vxlan listen on 192.168.0.1 interface... like that :
Your Environment
Context
i'm in single node kubernetes server based on k3s (i've disabled the integrated flannel to use the last version of this repository because the integrated version as the same problem).
i'm try to force vxlan udp listen on specific interface (not the public one), to avoid to expose the vxlan endpoint to my public interface.
my server as only one interface with public ip, first i've tryed to use looback but many part of kubernetes not whant to start correctly...
to avoid that i've created dummy interface name
kubelet0
with private ip 192.168.0.1.with that dummy interface i can force all part of kubernetes to listen on that ip (all work fine), but not the vxlan part of flannel...
i've tryed to force the interface with --iface but flanned continue to listen on any interface (0.0.0.0).
Current Behavior and Steps to Reproduce (for bugs)
i've added
--iface <myifacename>
to /opt/bin/flanneld.i see in the pod log that flanneld use the good ip of my iface (a dummy interface
kubelet0
configured with the ip 192.168.0.1) but continue to listen en any address (0.0.0.0):Expected Behavior
vxlan listen on 192.168.0.1 interface... like that :
The text was updated successfully, but these errors were encountered: