CCTV for your Kubernetes pods - See exactly what your applications are doing at the kernel level using eBPF and Traceloop.
Materials and code from my DevFest Lagos 2025 talk.
Want to learn about Traceloop step-by-step?
👉 Read the complete tutorial on freeCodeCamp
The freeCodeCamp article covers:
- ✅ Why traditional Kubernetes debugging falls short
- ✅ How eBPF and Traceloop work under the hood
- ✅ Complete installation guide
- ✅ Real crash debugging walkthrough
- ✅ Production use cases and best practices
🎥 Watch: Troubleshooting Kubernetes with Confidence (CNCF On-Demand)
CNCF webinar covering:
- ✅ Live Kubernetes troubleshooting demonstrations
- ✅ Practical debugging workflows
- ✅ Real-world problem-solving techniques
- ✅ Q&A with the community
Choose your learning style:
- 📖 Prefer reading? → freeCodeCamp article
- 🎥 Prefer video? → CNCF webinar
- 💻 Prefer hands-on? → Demo in this repo
- 📊 Prefer slides? → DevFest presentation
This repo contains the code, slides, and hands-on examples from my DevFest talk.
- Full slide deck (Link)
- Code screenshots
- Crash app that fails with generic errors
- Setup scripts for quick start
- Complete kubectl commands
- Expected output examples
- Installation cheat sheet
- Troubleshooting guide
- FAQ
- Official documentation
- Kubernetes Slack channel
- Related tools
Want to try the demo yourself?
- Kubernetes cluster (minikube, kind, or cloud)
- kubectl installed
- Cluster admin permissions
# Clone this repo
git clone https://github.com/emidowojo/traceloop-devfest-tutorial.git
cd traceloop-devfest-tutorial
# Run the setup
cd demo
chmod +x setup.sh
./setup.shFor detailed installation steps, see the freeCodeCamp tutorial or (https://inspektor-gadget.io/docs/latest/gadgets/traceloop).
New to Traceloop? Follow this path:
- 📖 Read the freeCodeCamp article - Complete beginner's guide
- 📊 Check the slides - Visual presentation from DevFest
- 💬 Join the Inspektor Gadget community - Get help and share experiences
- Inspektor Gadget: https://inspektor-gadget.io/docs/latest/
- Traceloop Docs: https://inspektor-gadget.io/docs/latest/gadgets/traceloop
- GitHub: https://github.com/inspektor-gadget/inspektor-gadget
- What is eBPF?: https://ebpf.io/what-is-ebpf/
- Kubernetes Slack: Join workspace → #inspektor-gadget channel
- GitHub Discussions: https://github.com/inspektor-gadget/inspektor-gadget/discussions
- Issues: https://github.com/inspektor-gadget/inspektor-gadget/issues
- ⭐ Star this repo
- 📢 Share on social media
- 🐦 Tweet at me: @Emidowojo
- 💬 Join #inspektor-gadget on Kubernetes Slack
Emidowojo Opaluwa - Documentation Engineer @ Qore
- 🎓 CNCF LFX Mentorship Alum - Contributed to Inspektor Gadget project
- 📝 Blog: TechonDiapers - Beginner-friendly tech content
- 🐦 Twitter: @Emidowojo
- 💼 LinkedIn: opaluwaemidowojo
- ✍️ freeCodeCamp Author: Read my articles
From my freeCodeCamp publication history:
- 📖 How to Debug Kubernetes Pods with Traceloop (This tutorial!)
- 🔍 More debugging and DevOps articles coming soon!
Found a typo? Have a suggestion? Contributions welcome!
- Fork this repository
- Create a feature branch:
git checkout -b feature/improvement - Commit changes:
git commit -m "docs: improve installation guide" - Push and create a Pull Request
This tutorial is licensed under MIT License.
The Inspektor Gadget project has its own license. See their repository for details.
- Inspektor Gadget team for building amazing debugging tools
- CNCF for the LFX Mentorship program
- freeCodeCamp for publishing the full tutorial
- DevFest Lagos 2025 organizers and attendees
- Everyone who provided feedback and suggestions
- 🐦 Follow me on Twitter: @Emidowojo
- 📝 Read my blog: TechonDiapers
- 💼 Connect on LinkedIn: opaluwaemidowojo
- 💬 Chat on Slack: #inspektor-gadget channel
⭐ Star this repo if you found it helpful!
DevFest Lagos 2025 | Debugging Kubernetes Pods with Traceloop