pod-management

Manage and debug Kubernetes Pods with lifecycle, log, and shell commands.

50|13|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/chaterm/terminal-skills --skill pod-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pod-management
Source: https://github.com/chaterm/terminal-skills/tree/main/kubernetes/pod-management
Command: npx skills add https://github.com/chaterm/terminal-skills --skill pod-management

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the management and debugging of Kubernetes Pods, helping users quickly identify and resolve issues related to Pod lifecycles, logs, and execution environments.

Core Features & Use Cases

  • Pod Inspection: View Pod status, details, and resource usage.
  • Log Analysis: Access and stream Pod logs for troubleshooting.
  • Interactive Debugging: Execute commands within Pods or use debug containers.
  • Lifecycle Management: Create and delete Pods, and monitor their states.
  • Use Case: When a Pod is in a CrashLoopBackOff state, use this Skill to view its previous logs and describe its events to pinpoint the cause of the failure.

Quick Start

Use the pod-management skill to list all running pods in the default namespace.

Frequently Asked Questions about pod-management

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

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

To debug a Kubernetes pod in CrashLoopBackOff, you retrieve previous logs and describe pod events to pinpoint the failure cause. This skill provides commands to access previous logs and inspect events for troubleshooting.

What is the best way to view logs from a terminated Kubernetes pod?

Viewing logs from a terminated Kubernetes pod requires retrieving previous instance logs. This skill provides commands to access and stream pod logs, enabling log analysis for pods that have crashed or stopped running.

Can I use kubectl to get an interactive shell inside a running pod?

Yes, you can use kubectl to get an interactive shell inside a running pod. This skill provides interactive debugging capabilities, allowing you to execute commands directly within pods or use debug containers.

How do I troubleshoot a Kubernetes pod stuck in Pending status?

Troubleshooting a Kubernetes pod stuck in Pending status involves inspecting pod details and events. This skill covers pod inspection commands to view status, details, and resource usage to resolve common lifecycle states.

Why does my Kubernetes pod keep getting OOMKilled and how can I check its resource usage?

A Kubernetes pod gets OOMKilled when it exceeds memory limits; you can check its resource usage to investigate. This skill provides pod inspection commands to view resource usage and debug common states like OOMKilled.

Does kubectl support port forwarding for advanced pod debugging?

Yes, kubectl supports port forwarding for advanced pod debugging. This skill facilitates advanced debugging techniques including port forwarding and debug containers to interact with applications running inside Kubernetes pods.