k8s-query

Query Kubernetes resources to determine cluster state and resource health.

10|2|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/eveld/claude --skill k8s-query
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-query
Source: https://github.com/eveld/claude/tree/main/skills/k8s-query
Command: npx skills add https://github.com/eveld/claude --skill k8s-query

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Kubernetes clusters require quick, repeatable checks of resource state across pods, deployments, services, and events to verify health and assist troubleshooting.

Core Features & Use Cases

  • Check pod status across namespaces
  • Inspect deployments and services to verify desired state and availability
  • Retrieve events and summarize issues to guide remediation
  • Correlate pod behavior with events and logs for incident analysis

Quick Start

Query Kubernetes resources to get a current snapshot of pods, deployments, and services.

Frequently Asked Questions about k8s-query

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

FAQPage Schema
How do I check Kubernetes pod status across namespaces?

To check Kubernetes pod status across namespaces, query the cluster resources to get a current snapshot of pods, deployments, and services. This verifies resource health and assists troubleshooting by retrieving events and summarizing issues.

Can I retrieve Kubernetes events and logs to investigate pod restarts?

Yes, you can retrieve Kubernetes events and logs to investigate pod restarts. The query correlates pod behavior with events and logs for incident analysis, summarizing issues to guide remediation across namespaces.

Do I need kubectl access and a valid kubeconfig to query Kubernetes deployments?

Yes, you need kubectl access to the target cluster and a valid kubeconfig to query Kubernetes deployments. These prerequisites are required to perform get, describe, and logs operations to determine cluster state.

What is the best way to inspect Kubernetes deployments and services to verify desired state?

The best way to inspect Kubernetes deployments and services is to query the cluster resources to verify desired state and availability. This provides a current snapshot of your cluster health and resource status.

How does querying Kubernetes cluster state help with troubleshooting?

Querying Kubernetes cluster state helps with troubleshooting by providing quick, repeatable checks of resource state across pods, deployments, services, and events. It correlates pod behavior with events and logs for incident analysis.

Why does my Kubernetes resource health check require kubectl operations?

Your Kubernetes resource health check requires kubectl operations because the query uses get, describe, and logs commands against the target cluster. This access is necessary to determine cluster state and resource availability.