Running applications, topic 10 of 61
Deployments
A Deployment describes a Pod template and a number of replicas. Change the template, such as its image, and the Deployment makes a new ReplicaSet and moves Pods over to it a few at a time, keeping the old one around so you can roll back.
Most stateless services run as Deployments. Learn to create one, scale it, update its image, watch the rollout with kubectl rollout status and undo it. The YAML generator on this site writes a Deployment and its Service from a form.
On Opsfolk
- Kubernetes clusterPlayground, 60 minutesPremium members
- CKA practice: Kubernetes administration basicsQuiz, 40 questions
Elsewhere
- DeploymentsOfficial