Cette page est affichée en anglais. Une traduction française est en cours.
SkillsApr 10, 2026·3 min de lecture

Cilium — eBPF-Powered Cloud Native Networking & Security

Cilium provides high-performance networking, observability, and security for Kubernetes using eBPF. CNI plugin, service mesh, and network policy — all kernel-level.

Prêt pour agents

Installation avec revue préalable

Cet actif nécessite une revue. Le prompt copié demande un dry-run, affiche les écritures, puis continue seulement après confirmation.

Needs Confirmation · 64/100Policy : confirmer
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
step-1.md
Commande avec revue préalable
npx -y tokrepo@latest install 30500e42-3535-11f1-9bc6-00163e2b0d79 --target codex

Dry-run d'abord, confirmez les écritures, puis lancez cette commande.

TL;DR
Cilium uses eBPF to deliver high-performance Kubernetes networking, observability, and security at the kernel level.
§01

What it is

Cilium is an open-source cloud-native networking, observability, and security platform powered by eBPF (extended Berkeley Packet Filter). As a CNCF graduated project, it operates at the Linux kernel level to implement CNI, service mesh, and network policies without the overhead of traditional iptables-based solutions.

Cilium is designed for platform engineers and Kubernetes operators who need high-performance pod networking with deep L3-L7 visibility and policy enforcement.

§02

How it saves time or tokens

Cilium replaces multiple separate tools. Instead of running a CNI plugin plus Istio for service mesh plus a separate network policy engine, Cilium handles all three in one eBPF-powered stack. The sidecar-free service mesh approach eliminates per-pod proxy overhead, reducing both resource consumption and operational complexity.

§03

How to use

  1. Install the Cilium CLI:
brew install cilium-cli
  1. Install Cilium in your Kubernetes cluster:
cilium install
cilium status --wait
  1. Verify connectivity:
cilium connectivity test
§04

Example

# L7 network policy: allow only GET requests to /api/v1/public
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
  name: allow-public-api
spec:
  endpointSelector:
    matchLabels:
      app: backend
  ingress:
    - fromEndpoints:
        - matchLabels:
            app: frontend
      toPorts:
        - ports:
            - port: '8080'
              protocol: TCP
          rules:
            http:
              - method: GET
                path: '/api/v1/public'
§05

Related on TokRepo

§06

Common pitfalls

  • Running Cilium on kernels older than 4.19 where eBPF features are incomplete
  • Forgetting to remove the existing CNI plugin before installing Cilium, causing conflicts
  • Enabling Hubble observability without allocating sufficient resources for the Hubble Relay component

Questions fréquentes

What is eBPF and why does Cilium use it?+

eBPF (extended Berkeley Packet Filter) lets programs run inside the Linux kernel without modifying kernel source code. Cilium uses eBPF to intercept and filter network packets at the kernel level, achieving higher performance than user-space proxies or iptables rules.

How does Cilium compare to Istio?+

Cilium provides a sidecar-free service mesh using eBPF, while Istio injects an Envoy sidecar proxy into each pod. Cilium has lower resource overhead and simpler operations. Istio offers more mature traffic management features like circuit breaking and fault injection.

Can Cilium replace kube-proxy?+

Yes. Cilium can fully replace kube-proxy for Kubernetes service load balancing using eBPF. This removes the iptables dependency and improves performance at scale with large numbers of services.

What is Hubble in the Cilium ecosystem?+

Hubble is the observability layer built on top of Cilium. It provides real-time network flow visibility, DNS monitoring, HTTP request tracing, and service dependency maps. Hubble UI offers a graphical interface for exploring network flows.

Does Cilium support multi-cluster networking?+

Yes. Cilium Cluster Mesh connects multiple Kubernetes clusters with pod-to-pod connectivity, shared services, and unified network policies across clusters without requiring a VPN or overlay between clusters.

Sources citées (3)

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires