Kubernetes Debug

Use for Kubernetes Debugging Sessions

sherifabdlnaby b8926c9 3 files · 9.2 KB Updated

File contents

kubernetes-debug

Route first: the debugging procedure lives in a references/ file. Open the matching one before investigating; reading it late means redoing the diagnosis.

Router

Debugging / investigating (why is X Pending / CrashLooping / not ready / reverted / 503ing / not scaling / not provisioning) -> references/debugging.md

Guidelines

  1. Kubernetes is not synchronous system; it is a set of controllers, each reconciling its own desired state, it's common for controllers to not be aware the others exist even if they depend on it. Never read one controller's local complaint as the system's verdict, judge a converging system by a single frame, or trust a single source of evidence (events, especially).
  2. Use evict instead of Pod Deletion for restarts.

sherifabdlnaby/skills/tree/main/skills/kubernetes-debug commit b8926c9131

Frequently asked questions

npx skillmds@latest add sherifabdlnaby/kubernetes-debug