k8s

Diagnose Kubernetes pod failures and analyze container logs via kubectl or oc.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users diagnose and resolve issues within Kubernetes clusters, reducing downtime and improving application stability.

Core Features & Use Cases

  • Pod Debugging: Troubleshoot common pod failures like CrashLoopBackOff, ImagePullBackOff, and Pending states.
  • Log Analysis: Quickly query and analyze logs from pods and containers to pinpoint errors.
  • Platform Health Checks: Verify the status of core Kubernetes components like deployments, services, and events.
  • Use Case: When a critical application is down, use this Skill to rapidly check pod statuses, review recent events, and examine container logs to identify the root cause.

Quick Start

Use the k8s skill to check the status of all pods in the 'default' namespace.

Frequently Asked Questions about k8s

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

FAQPage Schema
How do I troubleshoot Kubernetes pods stuck in CrashLoopBackOff or ImagePullBackOff?

To troubleshoot Kubernetes pods in CrashLoopBackOff or ImagePullBackOff, you need to check pod statuses, review recent cluster events, and examine container logs to identify the root cause of the failures.

What is the best way to analyze Kubernetes pod logs for errors?

The best way to analyze Kubernetes pod logs for errors is to query and review container outputs directly, which helps pinpoint application-level issues and resolve downtime within your running clusters.

Do I need kubectl or oc CLI access to debug a Kubernetes cluster?

Yes, you need kubectl or oc CLI access to interact with the Kubernetes API, which is required for diagnosing pod failures, checking platform health, and performing iterative debugging on running clusters.

How do I check the health of Kubernetes deployments and services?

You can check the health of Kubernetes deployments and services by verifying the status of core components and reviewing recent events to ensure platform health and improve application stability.

Can I use this approach to debug pending pods in a Kubernetes cluster?

Yes, you can debug pending pods in a Kubernetes cluster by diagnosing common pod failures, which includes checking pod statuses and analyzing recent events to identify why pods remain in a Pending state.