cilium
eBPF-based Networking, Security, and Observability
What is cilium?
eBPF-based Networking, Security, and Observability
Overview of cilium
What it is
Cilium is a networking, observability, and security solution with an eBPF-based dataplane. It provides a simple flat Layer 3 network with the ability to span multiple clusters in either a native routing or overlay mode. It is L7-protocol aware and can enforce network policies on L3-L7 using an identity-based security model that is decoupled from network addressing. Cilium implements distributed load balancing for traffic between pods and to external services, and is able to fully replace kube-proxy, using efficient hash tables in eBPF, allowing for almost unlimited scale. It also supports advanced functionality like integrated ingress and egress gateways, bandwidth management, and service mesh, and provides deep network and security visibility and monitoring. A new Linux kernel technology called eBPF is at the foundation of Cilium.
Key features
- CNI: Provides a fast, scalable, and secure networking layer for Kubernetes clusters with overlay networking (VXLAN, Geneve) and native routing mode, plus flexible routing options such as L2 neighbor discovery and BGP.
- Load Balancing: Distributed load balancing in eBPF using efficient hash tables; east-west load balancing at the socket level (connect()) to replace kube-proxy; north-south load balancing supports XDP, Direct Server Return (DSR), and Maglev consistent hashing.
- Cluster Mesh: Enables secure, seamless connectivity across multiple Kubernetes clusters with global service discovery and a unified identity model for security policies.
- Network Policy: Identity-aware enforcement across L3-L7; assigns a security identity to groups of application containers and validates it at the receiving node.
- Observability: Provides deep network and security visibility and monitoring.
- Additional: Integrated ingress and egress gateways, bandwidth management, and service mesh.
Use cases
- Kubernetes networking using the CNI plugin.
- Security enforcement with identity-based network policies.
- Multi-cluster connectivity and global service discovery via Cluster Mesh.
- Load balancing for east-west and north-south traffic.
- Network observability and monitoring.
- Replacement for kube-proxy.
Getting started
See the repository README for installation and quick start instructions.
License and pricing
Licensed under Apache-2.0. Open source.
Based on the project's public README and repository metadata.