News for hackers. Stuff that matters.
Re:Nftables 1.0.0 Released by gerdesj on Thursday August 19, 2021 @06:58PM (#28240378)
nft and iptables are both packet filters. What is your use case?
Re:Nftables 1.0.0 Released by paulfurtado on Thursday August 19, 2021 @10:59PM (#28242002)
Kubernetes implements load balancing via iptables probability rules. It creates "magic" static IPs on all kube nodes for ClusterIP services and makes iptables randomly select backend pods, making for a highly efficient zero-userspace load balancer. That gets less efficient with more rules due to the linearity of iptables. It also has an alternative implementation using ipvs, which is theoretically more efficient but has faced a number of issues over the years.

Kubernetes also has network security policy features for firewalling, that piece is implemented by plugins which do whatever they want though.

At this time, kubernetes requires you to be using iptables instead of nftables for all of this, so it will be interesting to see it running on iptables-free servers in the future.

Re:Nftables 1.0.0 Released by betaby on Thursday August 19, 2021 @10:23PM (#28241737)
It's a more operational question. In a year or two I plan to have all newly deployed servers with nft instead of iptables. So I would naturally expect to use the same nft commands to troubleshoot 'classic' servers and k8s nodes what sit on the same 'classic' servers - we run k8s on bare hardware.