talira

eBPF-based Networking, Security, and Observability

open sourceApache-2.0 AND (GPL-2.0-only OR BSD-2-Clause)self-hostablefree

Cilium is a networking, security and observability layer for Kubernetes built on eBPF in the Linux kernel. As a CNI plugin it gives pods overlay (VXLAN or Geneve) or native routing networking with BGP or L2 announcements, replaces kube-proxy with socket-level and XDP load balancing (DSR, Maglev), and enforces identity-based network policies from L3 to L7, including DNS-name and HTTP or gRPC rules. Cluster Mesh connects several clusters with shared service discovery, its service mesh encrypts traffic with IPsec, WireGuard or ztunnel and implements the Gateway API, and Hubble shows service maps and flow logs with Prometheus metrics. Isovalent, now part of Cisco, created it; it's a CNCF graduated project, with Apache-2.0 user space and BPF code under GPL-2.0 or BSD-2-Clause.

Ways to install

Problems it solves

  • pick a CNI plugin for a new Kubernetes cluster that scales to thousands of services
  • get rid of kube-proxy and its iptables rules, which slow down as our service count grows
  • write firewall rules for pods by labels instead of IP addresses that change every deploy
  • allow pods to call only api.stripe.com and other approved domains on the way out of the cluster
  • restrict which HTTP paths and methods one service can call on another inside Kubernetes
  • encrypt all pod-to-pod traffic between nodes without touching application code
  • connect services across several Kubernetes clusters and fail over to another cluster's backends
  • see which pods talk to which and why packets were dropped in the cluster network
  • advertise pod and LoadBalancer IPs to our routers over BGP from bare-metal Kubernetes
  • a service mesh without a sidecar proxy in every pod
  • high-throughput layer 4 load balancing with direct server return on Linux nodes
  • use the Gateway API for ingress without installing a separate ingress controller
  • debug DNS failures and policy denials in Kubernetes networking from a command line
  • network policy enforcement that integrates with our cloud's native routing instead of an overlay

Features

  • CNI plugin with VXLAN or Geneve overlay and native routing modes
  • route advertisement with BGP or L2 neighbour discovery
  • kube-proxy replacement with socket-level east-west load balancing
  • XDP north-south load balancing with Direct Server Return and Maglev consistent hashing
  • identity-based L3/L4 network policies, DNS-based (FQDN) policies and L7 HTTP and gRPC policies
  • CIDR-based ingress and egress policies
  • Cluster Mesh: global service discovery and failover across clusters
  • transparent encryption with IPsec, WireGuard or ztunnel
  • Gateway API compliant data plane
  • Hubble service maps and flow visibility with identity and label metadata
View 3 more
  • Prometheus and Grafana integration and drop reason reporting
  • Helm chart and cilium CLI installs; AMD64 and AArch64 images with SPDX SBOMs
  • community maintains the last three minor releases

Limitations

  • Doesn't support older Linux kernels: the docs recommend kernel 5.10 or later, or an equivalent such as RHEL 8.10's 4.183
  • No images for architectures other than AMD64 and AArch64: Cilium's container images are built for those two only34

Capabilities

Has an APIplan not known
Has a command line toolplan not known

Alternatives

The same job

These do what Cilium does.

  1. Flannel flannel is a network fabric for containers, designed for Kubernetes
  2. Calico Cloud native networking and network security
  3. kube-vip Kubernetes Control Plane Virtual IP and Load-Balancer
  4. Istio Connect, secure, control, and observe services.
  5. Linkerd Enterprise power without enterprise complexity
  6. MetalLB A network load-balancer implementation for Kubernetes using standard routing protocols

Compare Cilium with the top 3