एक Deployment stateless apps चलाने का मानक controller है। यह ReplicaSets को प्रबंधित करता है, और एक ReplicaSet एक निर्दिष्ट संख्या में समान Pods चालू रखता है। आप Deployment को संपादित करते हैं; यह आपके लिए rolling updates और rollbacks को orchestrate करता है।
पदानुक्रम (hierarchy)
Deployment → declares desired state + update strategy (the thing YOU manage)
└── ReplicaSet → ensures N identical Pods exist (one per app version)
└── Pod → Pod → Pod ... (the actual running copies)
On each new version, the Deployment creates a NEW ReplicaSet and shifts Pods over.
