eBPF-Based Observability with Hubble
Advanced · 45 minutes · 100 points
Dive deep into eBPF-powered network observability using Hubble, the observability platform built on top of Cilium. In this advanced standalone lab, you will simulate eBPF concepts, install and configure Hubble CLI tooling, generate and parse flow data, and build a foundational understanding of how eBPF programs provide kernel-level visibility into network traffic — all without requiring a full Kubernetes cluster. You will work with Hubble's data formats, simulate flow logs, and write analysis scripts that mirror real-world eBPF observability workflows.
What you’ll learn
- Install and configure the Hubble CLI and understand its role in eBPF-based observability
- Simulate and parse Hubble flow log data in JSON format to extract network telemetry insights
- Write Python-based analysis scripts to aggregate eBPF flow data and identify traffic anomalies
- Understand eBPF program types and map structures by inspecting kernel-level metadata
- Build a working observability pipeline that mirrors real Hubble/Cilium production workflows
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 5 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 runs each task’s checks in your container and says 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
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- At least 2GB free disk space
- Internet access for downloading Hubble CLI binary
Topics: ebpf, hubble, cilium, observability, network-monitoring, kubernetes-networking, flow-analysis, policy-enforcement, bpf-maps, service-mesh
Create a free account to start this lab.