k8s-diagnostics

Collect Kubernetes health signals and performance metrics for cluster stability assessment.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/spigell/my-agents --skill k8s-diagnostics-spigell
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-diagnostics
Source: https://github.com/spigell/my-agents/tree/main/agents/shared/src/tools/ask_kubernetes_expert/skills/k8s-diagnostics
Command: npx skills add https://github.com/spigell/my-agents --skill k8s-diagnostics-spigell

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you quickly understand Kubernetes cluster health, validate capacity signals, and pinpoint differences between namespaces when reliability or performance is at risk.

Core Features & Use Cases

  • Cluster health and readiness checks: Run health checks and retrieve cluster information to assess overall operational status.
  • Metrics-driven investigation: Verify metrics-server and collect node/pod metrics to evaluate usage and capacity planning signals.
  • Cross-environment/resource comparisons: Compare staging versus production (or any two contexts/namespaces) to detect configuration or workload drift.
  • Supporting diagnostic discovery: List CRDs and API versions to understand what capabilities exist before deeper troubleshooting.
  • Event and timeline context: Pull events (and optionally log context) to correlate symptoms with recent changes.

Quick Start

Ask an AI to run Kubernetes diagnostics for the production namespace to check cluster health, collect metrics, and compare staging versus production deployments.

Frequently Asked Questions about k8s-diagnostics

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

FAQPage Schema
How do I check Kubernetes cluster health and readiness before deploying?

To check Kubernetes cluster health, you can run diagnostics that retrieve cluster information, validate the metrics-server, and collect node and pod metrics to assess operational readiness and capacity planning signals.

What is the best way to compare Kubernetes namespaces across staging and production?

Comparing Kubernetes namespaces across environments detects workload or configuration drift by retrieving and contrasting resource states from different contexts to pinpoint discrepancies causing reliability issues.

How do I collect node and pod metrics for Kubernetes capacity planning?

Collect Kubernetes capacity planning metrics by verifying the metrics-server is active, then gathering node and pod resource usage data to evaluate current consumption against available cluster capacity.

Can I use kubectl to discover CRDs and API versions during troubleshooting?

You can discover CRDs and API versions using kubectl-mcp-server diagnostic tools to list available custom resources and understand cluster capabilities before deeper troubleshooting.

How do I pull Kubernetes events to correlate symptoms with recent changes?

Pull Kubernetes events to gather timeline context that correlates symptoms with recent deployment changes, helping identify the root cause of performance degradation or stability issues.

Does Kubernetes diagnostics work without a configured metrics-server?

Kubernetes diagnostics prioritizes metrics-server validation first; without a running metrics-server, the Skill can still gather events and CRD data but cannot collect node and pod capacity metrics.