En Deployment är standard-controllern för att köra stateless-appar. Den hanterar ReplicaSets, och en ReplicaSet håller ett angivet antal identiska Pods igång. Du redigerar Deployment:en; den orkestrerar rolling updates och rollbacks åt dig.
Hierarkin
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.
