Diagnose CrashLoopBackOff
Triage pods restarting repeatedly and identify the most likely root cause.
от bregman-arie★ 30 звёзд на GitHub
Установить Diagnose CrashLoopBackOff в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
When to use
Use when a pod is in CrashLoopBackOff or restarting and you need to determine why.
Preconditions
- You have read access to the cluster and target namespace.
- You know the namespace and either a pod name or the owning workload.
Procedure
- Identify the crashing container and restart count.
- Inspect last termination reason/exit code and recent events.
- Pull logs for the previous container instance.
- Classify the failure mode (config, dependency, permissions, resource, app bug).
- Identify the minimal safe remediation and how to verify.
Decision points
- Exit code
137/OOMKilled: investigate memory limits/usage and leaks. - Exit code
1+ stack trace: likely application/config issue. - Readiness/liveness probe failures: check probe config and upstream dependencies.
- Image-related events: see
diagnose-imagepullbackoff.
Verification
- Pod transitions to
Runningand stays stable for multiple probe periods. - Error rate and latency for the workload return to baseline.
- Restart count stops increasing.
Rollback / undo
- If a remediation involved a rollout, rollback to the previous known-good revision.
- If configuration was changed, revert the config and redeploy.
Escalation
- Escalate to service owner if the issue is a code regression or requires a patch.
- Escalate to platform team if it appears cluster-wide (many namespaces affected).
Examples
Example investigation flow (parameterize values):
kubectl -n <ns> get pod <pod> -o wide
kubectl -n <ns> describe pod <pod>
kubectl -n <ns> logs <pod> --all-containers --previous --tail=200
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Diagnose CrashLoopBackOff?
Triage pods restarting repeatedly and identify the most likely root cause.
Как установить скилл Diagnose CrashLoopBackOff?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Diagnose CrashLoopBackOff запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…