Networking – Understanding Operating System Packet Filtering Layer

iptableskubernetesnetworkingoperating systems

When I read this document #kube-proxy:

kube-proxy uses the operating system packet filtering layer if there is one and it's available. Otherwise, kube-proxy forwards the traffic itself.

so, what's the operating system packet filtering layer in there? is it means the iptables/netfilter network component in OS kernel?

Best Answer

Yes, on Linux systems this would be iptables. However, Kubernetes can also run on BSD and even Windows (for worker nodes), which obviously don't have iptables, but pf and Windows Firewall.

The slightly vague wording comes from the fact that they can't name a single packet filter implementation because of these different operating system's implementation of it.

Related Question