k8wiz
Cilium
Hard
Networking

How does Cilium's Bandwidth Manager enforce the kubernetes.io/egress-bandwidth annotation on a pod?

Select your answer:

Show answer and explanation

Answer: eBPF Earliest Departure Time pacing with the fq qdisc

Explanation

The bandwidth CNI plugin uses a token bucket filter, which scales poorly and adds latency. Cilium sets a departure timestamp on each packet in eBPF and lets the fq qdisc on the node's network device release packets at that time. The result is smoother rate limiting with less queueing delay.