Building a Tool to Debug Minimal Container Images in K8s Docker... - Kyle Quest & Saiyam Pathak
Channel: CNCF [Cloud Native Computing Foundation]
Date: 2024-03-27

Don't miss out! Join us at our next Flagship Conference: KubeCon + CloudNativeCon North America in Salt Lake City from November 12 - 15, 2024. Connect with our current graduated, incubating, and sandbox projects as the community gathers to further the education and advancement of cloud native computing. Learn more at https://kubecon.io

Minimal container images are getting more popular, but they can't go mainstream unless developers and DevOps engineers can debug them. You need to be able to debug them locally and in production across different container runtimes, but there was no tool to meet those needs until now.

This is a story of adding multi-runtime container debugging capability in MinToolkit and CDebug. You will learn how this sidecar-based debugging capability is designed and implemented in addition to learning how to use it, so you'll be able to build your own tools to do the same.

You'll also learn about the technologies in different container runtimes leveraged to build this multi-platform debugging capability and how it fits in the existing tooling ecosystem as well as the gaps it addresses in existing tools like "kubectl debug". The talk will have a demo showing how to debug containerized apps on different runtimes using a set of predefined debug images contrasting the user experience compared to "kubectl debug".