Deployment là controller chain
Deployment → ReplicaSet → Pod. Selector/template labels là contract ownership; imperative command chỉ là cách tạo skeleton. YAML cần explicit replicas, image, labels, strategy/resources/probes theo yêu cầu.
Desired state và evidence
spec.replicas không đồng nghĩa Available. Kiểm tra conditions, rollout status, ReplicaSet revision, Pod Ready, events và ownerReferences. Selector drift/image lỗi có thể tạo rollout không healthy hoặc orphan; sửa manifest/owner đúng scope, không chữa bằng delete mù.
Bài tập
Sinh Deployment, chỉnh/validate/apply, kiểm tra controller chain, scale và mô phỏng selector/image failure. Tạo variant label/namespace, thu evidence và cleanup orphan-safe.