KubeDojo

Debugging Applications: Logs, Events, and Exec

AK
by Alexis Kinsella··18 min read
Debugging Applications: Logs, Events, and Exec

Your pod is stuck in CrashLoopBackOff. You have no APM agent, no centralized logging stack, no Datadog dashboard. Just kubectl and a terminal. That's enough.

Kubernetes ships with three debugging tools that require zero extra infrastructure: container logs for application output, events for cluster-level state changes, and exec/debug for live container inspection. They won't cover node-level kernel issues or deep network packet analysis, but they handle the vast majority of "why is my pod broken?" scenarios.

Sign in to access this lesson

Create a free account or sign in to enroll in the KCNA — Kubernetes and Cloud Native Associate course and access all 25 lessons.

KCNA — Kubernetes and Cloud Native Associate

25 lessons

Browse the full course curriculum →