Deployment je standardni krmilnik za poganjanje aplikacij brez stanja (stateless). Upravlja ReplicaSete, ReplicaSet pa vzdržuje določeno število enakih Podov v teku. Vi urejate Deployment; ta za vas orkestrira postopne posodobitve (rolling updates) in povrnitve (rollbacks).
Hierarhija
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.
