pauldotyu/aks-skills/aks-troubleshooting
Claude Code and agent skill by pauldotyu/aks-skills
- community
Checking that the SKILL.md file is still in the repository.
Diagnose and resolve Azure Kubernetes Service (AKS) pod, node, and control plane issues. Use when pods are stuck in Pending, CrashLoopBackOff, OOMKilled, ImagePullBackOff, or Error states, nodes show NotReady or SchedulingDisabled, the API server is unreachable, containers crash with non-zero exit codes, resource quotas are exceeded, or persistent volume claims fail to bind.
Install
npx vskill@latest install pauldotyu/aks-skills/aks-troubleshootingSKILL.md
The same SKILL.md was published earlier as pauldotyu/aks-skills/aks-troubleshooting.
AKS Troubleshooting
This skill covers pod, node, resource, and control plane troubleshooting for Azure Kubernetes Service clusters.
Related skills: For networking and connectivity issues, see aks-networking. For cluster provisioning or upgrade failures, see aks-cluster-management. For workload identity token errors, see aks-workload-identity. For monitoring and alerting, see aks-monitoring.
Quick Diagnostics
Always start with a cluster-level health check before diving deeper:
Pod Troubleshooting
Pod stuck in Pending
Possible causes: insufficient resources, node selector/affinity mismatch, PVC not bound, taint without toleration.
Pod in CrashLoopBackOff
Common causes and fixes:
- Exit code 1: Application error — check app logs for stack traces
- Exit code 137 (OOMKilled): Increase memory limits or optimize the application
- Exit code 139: Segmentation fault — application bug or incompatible dependencies
Pod in OOMKilled state
Increase memory limits:
Pod in ImagePullBackOff
Common causes:
- Image name or tag is incorrect
- Private registry credentials missing — create or update the image pull secret
- Registry is unreachable from the node
Node Troubleshooting
Node in NotReady state
Common causes:
- Disk pressure: clean up unused images/volumes
- Memory pressure: reduce workload density
- Network issues: check CNI plugin status
- kubelet stopped: restart the VM or node pool
Node disk pressure
Resource and Quota Issues
Control Plane and API Server Issues
Azure-Level Diagnostics
Only escalate to Azure-level diagnostics after in-cluster checks have been exhausted:
Also use the built-in AKS Diagnose and Solve Problems blade in the Azure Portal for guided troubleshooting.
Common Error Reference
See ./references/error-codes.md for a list of common error codes and their solutions.
References
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaks-troubleshooting/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pauldotyu/aks-skills/aks-troubleshooting)