A Deployment is the standard way to run a stateless app. It does not manage Pods directly. Instead it creates a ReplicaSet, and the ReplicaSet keeps the requested number of Pod replicas running, creating new ones when Pods die and deleting extras. The Deployment's own job is to manage ReplicaSets over time, which is what makes rolling updates and rollbacks possible.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 6 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.