infrastructure

Diagnose Kubernetes pod crashes and AWS infrastructure issues via Python scripts.

654|77|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/incidentfox/incidentfox --skill infrastructure-incidentfox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infrastructure
Source: https://github.com/incidentfox/incidentfox/tree/main/sre-agent/.claude/skills/infrastructure
Command: npx skills add https://github.com/incidentfox/incidentfox --skill infrastructure-incidentfox

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Infrastructure debugging for Kubernetes and AWS to quickly identify pod crashes, deployment issues, resource bottlenecks, container failures, and cloud infrastructure problems in production.

Core Features & Use Cases

  • Kubernetes pod event and log retrieval for rapid troubleshooting.
  • Resource usage checks and deployment rollout status to diagnose stability.
  • AWS infrastructure monitoring (EC2/ECS/Lambda) issues and CloudWatch alert triage (future).

Quick Start

Use the infrastructure skill to run quick checks against your cluster:

  • List pods: python .claude/skills/infrastructure-kubernetes/scripts/list_pods.py -n <namespace>
  • Get events: python .claude/skills/infrastructure-kubernetes/scripts/get_events.py <pod-name> -n <namespace>
  • Get logs: python .claude/skills/infrastructure-kubernetes/scripts/get_logs.py <pod-name> -n <namespace> --tail 100

Frequently Asked Questions about infrastructure

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

FAQPage Schema
How do I diagnose Kubernetes pod crashes and find the root cause?

To diagnose Kubernetes pod crashes, you retrieve pod events and logs to quickly identify the root cause. Running Python scripts against the Kubernetes API helps collect event data and logs to troubleshoot container failures in production.

Can I check AWS infrastructure issues and CloudWatch alerts with this approach?

Yes, AWS infrastructure monitoring covers EC2, ECS, and Lambda issues. CloudWatch alert triage is marked as a future capability for diagnosing cloud infrastructure problems alongside the existing Kubernetes troubleshooting features.

What do I need to access to troubleshoot live Kubernetes cluster issues?

Troubleshooting live Kubernetes cluster issues requires Python-based scripts and access to the target cluster's API endpoints. This setup enables data collection for events, logs, and resource usage directly from the Kubernetes API.

How do I get logs for a specific Kubernetes pod in a namespace?

To get Kubernetes pod logs, execute the designated Python script with the pod name and namespace arguments. You can specify a tail limit to retrieve recent log entries for diagnosing deployment stalls or container failures.

What is the best way to identify resource bottlenecks during a deployment rollout?

To identify resource bottlenecks during a deployment rollout, check resource usage metrics and deployment rollout status. This helps diagnose stability issues by correlating current resource consumption with pod events in the cluster.

Does Kubernetes troubleshooting support checking deployment stalls and resource bottlenecks?

Yes, Kubernetes troubleshooting covers deployment stalls and resource bottlenecks. By retrieving events, logs, and checking resource usage, you can diagnose stability issues and pinpoint the root cause of deployment failures.