kubernetes-debug
OfficialKubernetes debugging made effortless.
Authorincidentfox
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Kubernetes debugging is often time-consuming due to scattered signals from events, pod status, and containers. This Skill provides a repeatable methodology and a set of scripts to quickly surface the root cause of pod issues in Kubernetes clusters.
Core Features & Use Cases
- Event-first debugging: Start with pod events to identify scheduling or runtime issues before diving into logs.
- Pod visibility: List pods in a namespace with status, ready state, and restart info to identify candidates for investigation.
- Evidence gathering: Retrieve events, describe pods, and fetch logs to build a concise incident timeline.
- Use Case: When a pod shows CrashLoopBackOff or ImagePullBackOff, run the scripts to surface root causes and recommended remediation steps.
- Extensibility: Works with additional kubectl/kubernetes tooling and can be extended with new scripts under scripts/.
Quick Start
Start by listing pods in your target namespace, then inspect the failing pod with events and logs:
- python .claude/skills/infrastructure-kubernetes/scripts/list_pods.py -n <namespace>
- python .claude/skills/infrastructure-kubernetes/scripts/get_events.py <pod-name> -n <namespace>
- python .claude/skills/infrastructure-kubernetes/scripts/get_logs.py <pod-name> -n <namespace>
Dependency Matrix
Required Modules
kubernetes
Components
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kubernetes-debug Download link: https://github.com/incidentfox/incidentfox/archive/main.zip#kubernetes-debug Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.