CrashLoopBackOff, ImagePullBackOff và Pending thường debug thế nào?

CrashLoopBackOff thường là app crash hoặc liveness probe giết container; xem logs hiện tại/previous và events. ImagePullBackOff thường do image tag sai, registry auth, network hoặc rate limit. Pending thường do thiếu resources, PVC chưa bind, node selector/taints hoặc quota.

Checklist: kubectl describe pod, kubectl logs --previous, kiểm image/tag/secret, requests/limits, events namespace, PVC, node capacity và rollout history. Không chỉ restart Pod nếu chưa hiểu root cause.

Xem toàn bộ Docker & Kubernetes cùng filter theo level & chủ đề con.

Mở danh sách Docker & Kubernetes