---
name: php186-skill-77276
description: "使用 kubectl describe、logs --previous 和 Kubernetes API /api/v1/namespaces/{ns}/events 端点诊断 Kubernetes pod 失败。识别 CrashLoopBackOff 根本原因、OOMKilled 内存分析，并生成修复步骤和资源限制建议。"
---

# Kubernetes Pod 诊断

## Kubernetes Pod 诊断

 

Diagnoses Kubernetes pod failures using kubectl describe, logs --previous, and the Kubernetes API /api/v1/namespaces/{ns}/events endpoints. Identifies CrashLoopBackOff root causes, OOMKilled memory analysis, and generates remediation steps with resource limit recommendations.

 

## Installation

 

Use the upstream install or setup path that matches your environment:

 

- git clone https://github.com/1991513ccie-png/skills
- make
- make quick-release

 

Requirements and caveats from upstream:

 

- ##### You have a working Docker environment.
- 
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/kubernetes/kubernetes/HEAD/README.md
