Deployment हा stateless ऍप्लिकेशन्स चालवण्यासाठीचा प्रमाणित controller आहे. तो ReplicaSets manage करतो, आणि एक 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.
