Open JoostvdB94 opened 5 years ago
Related: #2208, #3106
I changed the title because I think it's better to have it describe the problem rather than a potential solution. Docker has code to react to firewalld reload. This might be easier to implement than a full reconcile (or let us poll more slowly if we do do a reconcile).
A possible work-around is to configure Weave Net to run with no network policies.
enhancement
What you expected to happen?
Persistent firewall settings, even after firewalld reload
What happened?
Weave chains & rules in IPTABLES (on a specific node) disappear when reloading the firewall on that node. Kubernetes and docker rules are coming back, although they seem to disappear too after a reload of firewalld.
How to reproduce it?
kubeadm init
)firewalld
if not already running)systemctl reload firewalld
(or use another tool to do this e.g.firewall-cmd --reload
)iptables -L -v -n -t filter --line-numbers
See that
WEAVE-NPC-EGRESS
WEAVE-NPC
and all linked chains have disappeared.Anything else we need to know?
Using Weave as CNI for kubernetes, running version 2.5.0
Versions: