cyberneticlibrary

Debug Kubernetes pods and nodes

k8s-troubleshootskillsetup L4908
rohitg00/kubectl-mcp-server
What it does

Debug failing Kubernetes pods, nodes, workloads, and service connectivity

Best for

Quickly diagnosing why a pod won't start or a container keeps crashing without ssh-ing into nodes.

Inputs
  • · Pod name and namespace
  • · node name
  • · error logs or events
Outputs
  • · Pod status report
  • · container logs
  • · resource usage metrics
  • · event history
Requires
  • · kubectl
  • · optional: Prometheus for metrics
Preconditions
  • · Kubernetes cluster access
  • · appropriate kubeconfig context
Failure modes
  • · pod logs truncated
  • · metrics unavailable
  • · node NotReady status misdiagnosed
  • · service DNS not resolving
Trust signals
  • · 15-tool troubleshooting suite
  • · logs+events+metrics workflow
  • · node health checks
  • · connectivity diagnostics