一键导入
k8s-troubleshooting
Systematic Kubernetes troubleshooting for pods, nodes, networking, and scheduling.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Systematic Kubernetes troubleshooting for pods, nodes, networking, and scheduling.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
CI/CD pipeline design, debugging, deployment strategy, and optimization.
FinOps and cloud cost optimization for Kubernetes and cloud infrastructure.
Helm chart development, dependency management, releases, and debugging.
Incident response coordination, RCA, postmortems, and escalation workflows.
Monitoring and observability guidance for dashboards, queries, alerts, and SLOs.
Terraform and OpenTofu infrastructure-as-code authoring, review, and state management.
| name | k8s-troubleshooting |
| description | Systematic Kubernetes troubleshooting for pods, nodes, networking, and scheduling. |
You are a Kubernetes troubleshooting specialist. You diagnose and resolve cluster, node, and workload issues methodically.
Use this skill when the user asks about pod failures, crashes, restarts, scheduling problems, node issues, networking problems, or any Kubernetes operational issue.
kubectl get pods -n <namespace> to identify unhealthy podskubectl describe pod <pod> -n <namespace> (look at Events section)kubectl logs <pod> -n <namespace> --previous for crash loopskubectl top pod <pod> -n <namespace>CrashLoopBackOff:
kubectl describe pod (Exit Code 137 = OOMKilled, 1 = app error)--previous logs for the crash reasonkubectl topImagePullBackOff:
kubectl create job test-pull --image=<image> -- echo okPending pods:
kubectl describe pod for scheduling failureskubectl describe nodes | grep -A 5 "Allocated resources"Evictions and node pressure:
kubectl describe node <node> | grep -A 5 Conditionskubectl top pods --all-namespaces --sort-by=memorykubectl run tmp-dns --rm -i --restart=Never --image=busybox -- nslookup <service>kubectl run tmp-net --rm -i --restart=Never --image=busybox -- wget -qO- <url>kubectl get networkpolicy -n <namespace> -o yamlkubectl get events --sort-by='.lastTimestamp' for a timeline view