Explore various debugging patterns for Kubernetes controllers in this 31-minute conference talk by Surendhar Ravichandran from F5 Networks. Learn how to effectively debug custom controllers and application code across different environments, from Docker and Minikube to production clusters. Discover techniques to integrate debug support into existing workflows, overcome networking challenges between development environments and controllers, and move beyond simple print statements. Gain insights into the debugger model, exposing debugger ports, and useful networking tips. Understand common pitfalls and summarize key takeaways for more efficient Kubernetes controller development and debugging.
Overview
Syllabus
Intro
My Controller Journey
What's wrong with print statements
What is a debugger anyway?
Debugger Model
Think out of the box
Inside the kubernetes
Adding Debugger Support
Expose Debugger Port
Useful networking tips
Gotchas
Summary
Taught by
Linux Foundation