k8s:pods

Diagnose Kubernetes pod failures using kubectl logs, events, and resource checks.

292|103|Updated Mar 27, 2025
One-click install
npx skills add https://github.com/kagenti/kagenti --skill k8s-pods
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s:pods
Source: https://github.com/kagenti/kagenti/tree/main/.claude/skills/k8s%3Apods
Command: npx skills add https://github.com/kagenti/kagenti --skill k8s-pods

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you systematically identify, diagnose, and resolve common issues with Kubernetes pods, ensuring your applications run smoothly.

Core Features & Use Cases

  • Pod Status Analysis: Quickly check the health and status of pods, identifying problems like Pending, CrashLoopBackOff, or ImagePullBackOff.
  • Log and Event Inspection: Dive deep into pod logs and Kubernetes events to pinpoint the root cause of failures.
  • Resource Troubleshooting: Investigate memory and CPU constraints that might be affecting pod performance.
  • Networking Debugging: Diagnose connectivity issues between pods and services.
  • Use Case: When a user reports their application is down, this skill guides you through checking pod status, examining logs for errors, and verifying resource limits to bring the application back online.

Quick Start

Use the k8s:pods skill to troubleshoot a pod named 'my-app-pod' in the 'default' namespace.

Frequently Asked Questions about k8s:pods

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

FAQPage Schema
How do I troubleshoot Kubernetes pods stuck in a CrashLoopBackOff state?

Troubleshoot Kubernetes pods in CrashLoopBackOff by systematically analyzing pod logs, events, and resource constraints using kubectl commands to pinpoint the root cause of the crash loops. This skill guides you through inspecting application logs and Kubernetes events to resolve the failure.

What is the best way to diagnose OOMKilled errors in k8s pods?

Diagnose OOMKilled errors in k8s pods by investigating memory and CPU resource constraints that affect pod performance. This skill helps you analyze resource limits and events to identify if memory exhaustion is causing your containers to be terminated.

How do I fix ImagePullBackOff or pending states for Kubernetes pods?

Fix ImagePullBackOff and pending states for Kubernetes pods by analyzing pod status and events to identify image pull failures or unschedulable conditions. The skill provides systematic troubleshooting steps to verify resource availability and resolve deployment blocks.

Can I use kubectl to debug networking connectivity issues between pods and services?

Yes, you can use kubectl to debug networking connectivity issues between pods and services. This skill supports networking debugging to diagnose connectivity problems, alongside analyzing pod logs and resource constraints to ensure your applications communicate correctly.

Why are my Kubernetes pod resource constraints causing application downtime?

Kubernetes pod resource constraints cause application downtime when memory and CPU limits trigger OOMKilled errors or throttling. Analyze pod logs, events, and resource limits using kubectl to investigate these constraints and bring your application back online.