k8s-check

Diagnose Kubernetes cluster health by checking pod status, events, resource usage, and restart counts.

Updated Jul 29, 2025
One-click install
npx skills add https://github.com/dieguscl/dotfiles --skill k8s-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-check
Source: https://github.com/dieguscl/dotfiles/tree/main/claude/skills/k8s-check
Command: npx skills add https://github.com/dieguscl/dotfiles --skill k8s-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires kubectl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a quick and comprehensive health check for your Kubernetes cluster, identifying potential issues with pods, events, and resource utilization.

Core Features & Use Cases

  • Pod Status: Identifies pods that are not in a Running or Succeeded state.
  • Event Monitoring: Surfaces recent warnings and errors from cluster events.
  • Resource Usage: Checks node and pod resource consumption to detect potential bottlenecks.
  • Restart Analysis: Highlights pods with high restart counts, indicating potential application instability.
  • Use Case: Before deploying a new application or when experiencing cluster-wide issues, run this Skill to get a rapid overview of the cluster's health and pinpoint problem areas.

Quick Start

Run a comprehensive Kubernetes health check for the current cluster context.

Frequently Asked Questions about k8s-check

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

FAQPage Schema
How do I run a Kubernetes health check to diagnose cluster issues?

To run a Kubernetes health check, this Skill queries the Kubernetes API server via kubectl to inspect pod status, recent events, resource usage, and restart counts. It provides a rapid overview to pinpoint problem areas like pods not in a Running state.

What does a comprehensive k8s diagnostics check include?

A comprehensive k8s diagnostics check includes identifying pods not in Running or Succeeded states, surfacing recent warning events, monitoring node and pod resource consumption, and highlighting pods with high restart counts indicating application instability.

Can I scope kubectl diagnostics to a specific Kubernetes namespace?

Yes, you can scope kubectl diagnostics to a specific Kubernetes namespace. If a namespace is provided, the Skill limits its operations to that area to check pod status, events, resource usage, and restart counts within those defined boundaries.

Do I need kubectl installed to check Kubernetes pod restart counts and resource usage?

Yes, you need kubectl installed because the Skill requires kubectl to interact with the Kubernetes API server. It relies on this dependency to execute commands that retrieve pod restart counts, resource utilization, and event warnings.

When should I perform a Kubernetes cluster health check?

You should perform a Kubernetes cluster health check before deploying a new application or when experiencing cluster-wide issues. It identifies potential problems with pods, events, and resource utilization to prevent deployment bottlenecks.