Replies: 1 comment
-
Is your pod trying to manage iptables rules in the host network namespace, or the pod? The fact that you're seeing messages about rules being missing from the host network namespace suggests that something is removing rules out from underneath flannel. It's hard to say what that might be, but it could also be affecting rules that your pod is adding. What else on your host is managing iptables rules? |
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
-
The POD has port mapping as follows:
ports:
hostPort: 8440
protocol: TCP
When started, it can add iptables policies normally.
A CNI-DN-34d12f4583f5ecbe79fd3 -s 10.42.0.0/24 -p tcp -m tcp --dport 8440 -j CNI-HOSTPORT-SETMARK
But after running for a while, I see the following:
And then, my NAT policies are gone. How can I resolve this?
the version is:
Beta Was this translation helpful? Give feedback.
All reactions