Image decision tree
Kiểm tra reference/registry/tag/digest trước. Nếu event nói pull/auth/manifest/network, xử lý image hoặc credential; nếu image đã pull và process exit, đọc logs/previous, exit code, command/args, env/config và probe. Running chưa đủ; cần Ready/response.
Reproducibility và secret
Tag mutable dễ drift; digest pin tốt hơn khi cần lặp lại. Pull policy không thay thế image đúng. imagePullSecret namespaced, phải bind đúng Pod/ServiceAccount và không commit token. Ghi runtime/architecture nếu build image local; không giả định image máy host tự có trong cluster.
Bài tập
Tạo workload image pinned, mô phỏng sai tag/private auth/crash/probe, thu evidence và sửa từng lỗi. So sánh tag/policy hoặc digest variant, verify imageID/Ready/rollout rồi cleanup secret/test artifact.