Skip to content

Cilium & replacing iptables

Step 6 of 9Concept
LOOKUP
O(1) hash
IPTABLES
eliminated
METADATA
Hubble flows
IDENTITY
pod labels
  • ingress frame
  • egress / socket
  • XDP drop / redirect
XDP, TC & Socket Hooks, step 6 of 9

Traditional kube-proxy chains thousands of iptables rules linearly (O(n) per packet). Cilium replaces those chains with TC + socket eBPF programs backed by O(1) hash maps keyed by pod security identity.

Its companion Hubble reads flow events from those same eBPF maps, giving DNS, HTTP, and L3/L4 drop visibility across the cluster—which is why our 5G lab runs Cilium as its CNI.

Type to search…

↑↓ navigate↵ selectEsc close