Deployment એ stateless apps ચલાવવા માટેનું પ્રમાણભૂત controller છે. તે ReplicaSets ને manage કરે છે, અને એક ReplicaSet નિર્ધારિત સંખ્યાના એકસરખા Pods ને ચાલુ રાખે છે. તમે Deployment ને edit કરો; તે તમારા માટે 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.
