Cilium
What is Cilium?
CiliumAn eBPF-based Container Network Interface that provides networking, observability, and security for Kubernetes workloads at kernel speed.
Cilium is an open-source CNI plugin that uses Linux eBPF to program the kernel for pod-to-pod networking, load balancing, observability, and security policy enforcement, without relying on iptables. It implements Kubernetes Network Policies, plus a richer CiliumNetworkPolicy custom resource that supports identity-based, Layer 7 (HTTP/Kafka/gRPC), and DNS-aware rules.
The defining design choice is identity-based security. Rather than filtering on IP addresses — which churn constantly as pods are rescheduled — Cilium assigns each workload a stable numeric security identity derived from its labels, and attaches eBPF programs to kernel hooks that allow or drop packets by identity. This survives pod restarts and scales without the per-rule linear scan that cripples large iptables chains. Cilium can also replace kube-proxy entirely with an eBPF load balancer, and offers transparent WireGuard or IPsec encryption for pod traffic.
Companion projects include Hubble for flow-level observability and Tetragon for runtime enforcement. Security maturity matters here: Cilium was accepted to the CNCF at the Incubating level on 13 October 2021 and reached Graduated status — the highest tier — on 11 October 2023 after a third-party security audit, by which point it was the second most active CNCF project by commit volume behind Kubernetes. Operators should still patch promptly: CVE-2022-29179 (CVSS 7.5, improper privilege management) could let a workload gain elevated privileges and was fixed in Cilium 1.11.5, with backports to 1.10.11 and 1.9.16.
flowchart LR
A[Pod sends packet] --> B[eBPF program at kernel hook]
B --> C{Look up source<br/>security identity}
C --> D{CiliumNetworkPolicy<br/>allows identity + L7?}
D -- Yes --> E[Forward / load balance<br/>optional WireGuard encrypt]
D -- No --> F[Drop packet]
B -.flow metadata.-> G[Hubble observability]● Examples
- 01
Replacing kube-proxy with Cilium's eBPF-based load balancer for lower latency.
- 02
Defining a CiliumNetworkPolicy that only permits HTTP GET /api/* between two namespaces.
● Frequently asked questions
What is Cilium?
An eBPF-based Container Network Interface that provides networking, observability, and security for Kubernetes workloads at kernel speed. It belongs to the Cloud Security category of cybersecurity.
What does Cilium mean?
An eBPF-based Container Network Interface that provides networking, observability, and security for Kubernetes workloads at kernel speed.
How do you defend against Cilium?
Defences for Cilium typically combine technical controls and operational practices, as detailed in the full definition above.
What are other names for Cilium?
Common alternative names include: Cilium CNI, Cilium eBPF.