Pod Troubleshooting

Diagnose Kubernetes pod failures with kubectl commands in the openclaw namespace.

9|3|Updated Apr 16, 2024
One-click install
npx skills add https://github.com/keiretsu-labs/kubernetes-manifests --skill pod-troubleshooting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Pod Troubleshooting
Source: https://github.com/keiretsu-labs/kubernetes-manifests/tree/main/openclaw/workspaces/main/skills/pod-troubleshooting
Command: npx skills add https://github.com/keiretsu-labs/kubernetes-manifests --skill pod-troubleshooting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you quickly identify and resolve the root causes of Kubernetes pods that are not running correctly, such as those stuck in CrashLoopBackOff, failing to start, or experiencing resource issues.

Core Features & Use Cases

  • Root Cause Analysis: Pinpoints why pods are unhealthy (e.g., ImagePullBackOff, OOMKilled, Init:Error).
  • Diagnostic Commands: Provides step-by-step kubectl commands to gather pod and container information.
  • Use Case: When a critical service pod is repeatedly restarting, use this Skill to determine if it's due to a configuration error, resource limit, or an issue with the application's startup logic.

Quick Start

Use the pod troubleshooting skill to diagnose why the 'openclaw' pod in the 'openclaw' namespace is not running.

Frequently Asked Questions about Pod Troubleshooting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a Kubernetes pod stuck in CrashLoopBackOff?

Debug a Kubernetes pod stuck in CrashLoopBackOff by running kubectl describe to inspect events and kubectl logs to check application startup errors. This Skill provides the specific commands to pinpoint whether the failure stems from configuration issues or resource limits.

What kubectl commands diagnose OOMKilled and ImagePullBackOff pod errors?

Diagnose OOMKilled and ImagePullBackOff errors using kubectl status, describe, events, and logs commands. This Skill scopes these kubectl instructions to the openclaw namespace to isolate memory exhaustion and image pull failures.

How do I troubleshoot Init:Error failures in Kubernetes init containers?

Troubleshoot Init:Error failures in Kubernetes init containers by executing kubectl logs on the specific container to identify the failing initialization step. This Skill scopes the diagnostic process to pinpoint startup logic errors within the openclaw namespace.

Do I need kubectl installed to diagnose unhealthy Kubernetes pods?

You need kubectl installed to diagnose unhealthy Kubernetes pods because this Skill requires it to interact directly with the Kubernetes API. Kubectl executes the status, describe, and exec commands needed for detailed pod state inspection and remediation.

Why is my Kubernetes pod repeatedly restarting and failing to run?

Your Kubernetes pod is repeatedly restarting due to application startup logic errors, resource limits, or configuration issues. This Skill performs root cause analysis to determine the exact failure trigger, such as OOMKilled or CrashLoopBackOff, within the openclaw namespace.