--flannel-iface not working #11341
Unanswered
mcarbonneaux
asked this question in
Q&A
Replies: 1 comment
-
I don't think flannel actually supports binding to a specific IP like that. I would take this question to https://github.com/flannel-io/flannel |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environmental Info:
K3s Version:
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
single node, docker mode, public interface, and private dummy interface.
Describe the bug:
i try to not expose on public interface anything.
i found a way to do it for quasi everything... but not for flannel vxlan listen port that listen on any interfaces :
0.0.0.0:8472
..i tryed to use
--flannel-iface
but it continue to listen to any...my private interface is kubelet0 and is linux dummy interface, the idea is to force to listen all port that not need to be exposed to public interface on local dummy interface (i've tryed loopback but many part of k8s not whant to listen on it).
Steps To Reproduce:
NODE_IP=<kubelet0 ip: 192.168.0.1>
PUBLIC_IP< the public ip of my server>
Expected behavior:
that flannel listen on NODE_IP on my dummy interface (192.168.0.1).
Actual behavior:
listen on any interface:
Beta Was this translation helpful? Give feedback.
All reactions