Deployment on vakiokontrolleri tilattomien sovellusten ajamiseen. Se hallitsee ReplicaSetejä, ja ReplicaSet pitää tietyn määrän identtisiä Podeja käynnissä. Muokkaat Deploymentia; se orkestroi rolling updatet ja rollbackit puolestasi.
Hierarkia
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.
