eBPF Networking and Flow Observability with Cilium + Hubble
Expert · 60 minutes · 4 tasks, checked automatically · 100 points
Deploy Cilium as the CNI for your kind cluster, enable Hubble for deep eBPF-powered network flow observability, and use Hubble UI and CLI to inspect real-time Layer 3/4/7 traffic flows between workloads. You will replace the default CNI, enforce network policies, and query flow data — all powered by eBPF in the Linux kernel.
What you’ll learn
- Bootstrap a kind cluster without a default CNI and install Cilium as the eBPF-native CNI using Helm
- Enable Hubble relay and UI to capture and visualise real-time eBPF network flows
- Deploy sample workloads, generate inter-pod traffic, and query L3/L4/L7 flows with the Hubble CLI
- Apply a Cilium NetworkPolicy to restrict ingress and verify enforcement via Hubble flow observations
How this lab works
- Start the lab: One click starts a real Kubernetes cluster on your computer (kind), with kubectl ready in a toolbox terminal.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work reads your live cluster and says, task by task, what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Cluster: A real Kubernetes cluster on your computer (kind)
- Kubernetes: 1.34.8
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- A kind cluster created in the Kubernetes Playground with CNI disabled (--config flag)
- helm v3 available in the toolbox container
- kubectl configured and pointing at the kind cluster
Topics: cilium, hubble, ebpf, networking, network-policy, observability, flow-visibility, l7, dns, http
Create a free account to start this lab.
Keep going
- Dual-Stack Networking (IPv4/IPv6) on kind
- Traffic Management with Istio (Sidecar, VirtualService, DestinationRule)
- Progressive Traffic Shifting and Mirroring with Istio
- TLS Termination at the Ingress with Kubernetes Secrets
- EndpointSlices: How Services Track Pod Endpoints
- The Gateway API: Routes, Gateways, and GatewayClasses