Interactively Debugging Kubernetes Applications with Breakpoints
CNCF [Cloud Native Computing Foundation] via YouTube
Overview
Explore interactive debugging techniques for Kubernetes applications in this 22-minute conference talk. Learn how to overcome challenges such as debugging remote processes, handling container images without debug symbols, and working with separate mount and process namespaces. Discover solutions using ephemeral containers and open-source tools to set breakpoints, watch expressions, and step through code. Follow along with a demonstration of simultaneously debugging multiple cooperating controllers from the Cluster API project using an IDE. Gain insights into common challenges and their solutions, including attaching debuggers, accessing debug information, and locating source code. Equip yourself with the knowledge to effectively debug complex applications in Kubernetes environments.
Syllabus
Introduction
Cluster API
Ephemeral containers
Debug Session (Demo)
Challenges & Solutions
Starting point
No debugger in the Pod
Debugger cannot attach
No debug info
Cannot reach debugger server
Source code not found
Putting it all together
Other, less common challenges
Call to action
Taught by
CNCF [Cloud Native Computing Foundation]