Lab
Build an eBPF Monitoring Tool for Kubernetes
Deploy an eBPF+Go HTTP monitoring agent to Kubernetes with Grafana visualization
Build on your eBPF and Go skills to deploy a production-ready HTTP monitoring
tool to Kubernetes. Complete a pre-written monitoring agent, deploy it as a
DaemonSet, and visualize metrics in Grafana.
What you'll learn:
- Complete Go code using the cilium/ebpf library
- Deploy monitoring tools as Kubernetes DaemonSets
- Configure RBAC for eBPF agents
- Export Prometheus metrics from Go applications
- Interpret Grafana dashboards showing eBPF metrics
- Enrich metrics with Kubernetes metadata
Recommended prerequisites: Complete "eBPF for Networking" and "Go + eBPF Development" labs.
🚀 Welcome to eBPF + Kubernetes Monitoring
Set up your monitoring environment with Kubernetes, Prometheus, and Grafana
💻 Complete the Go Agent
Fill in the four exercises to build a working monitoring agent
🚀 Deploy as Kubernetes DaemonSet
Deploy the HTTP monitor to run on every node in the cluster
📊 Visualize Metrics in Grafana
View HTTP request metrics in Grafana dashboards
🥋 Exam Challenge
Extend the HTTP monitor to capture UDP traffic