kubernetes

Inspect Kubernetes resources and logs with safe read-only kubectl commands.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/fasterthanlime/_claude --skill kubernetes-fasterthanlime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kubernetes
Source: https://github.com/fasterthanlime/_claude/tree/main/skills/kubernetes
Command: npx skills add https://github.com/fasterthanlime/_claude --skill kubernetes-fasterthanlime

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides guidance for safe, read-only Kubernetes operations focused on viewing, monitoring, and debugging cluster resources.

Core Features & Use Cases

  • Viewing Resources: List pods, deployments, services, nodes, and more.
  • Describe & Logs: Retrieve detailed resource information and logs for debugging.
  • Port-Forwarding & Debugging: Safe debugging operations without destructive changes.

Quick Start

kubectl get pods -A kubectl logs <pod-name> [-c <container-name>]

Frequently Asked Questions about kubernetes

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

FAQPage Schema
How do I view logs from a Kubernetes pod for debugging?

Use kubectl logs to retrieve pod logs: kubectl logs <pod-name> [-c <container-name>]. Add -A to search across all namespaces, or use --previous to view logs from a crashed container. This read-only command is safe for observability without altering cluster state.

What's the best way to debug Kubernetes resources without making destructive changes?

Use safe kubectl commands: kubectl get to list resources, kubectl describe to inspect details, kubectl logs for application output, and kubectl port-forward to access services locally. These read-only operations enable full debugging while enforcing a non-destructive operational policy.

Can I access a Kubernetes service locally for debugging?

Yes, kubectl port-forward safely tunnels traffic from a local port to a pod or service: kubectl port-forward <pod-name> <local-port>:<pod-port>. This enables debugging and testing without exposing services externally or modifying cluster configuration.

How do I check pod status and get detailed information across my Kubernetes cluster?

Use kubectl get pods -A to list all pods across namespaces, then kubectl describe pod <pod-name> for detailed resource information including events, conditions, and configuration. These commands provide complete observability for cluster monitoring and troubleshooting.

What operations are restricted when using kubectl for Kubernetes observability?

Deletions and other destructive actions are explicitly forbidden to maintain cluster integrity. This approach enforces read-only operations focused on viewing, monitoring, and debugging resources safely without unintended modifications to running infrastructure.