Automation, Orchestration, and Scripting
An administrator must run three identical replicas of a stateless web application. If a pod fails, a replacement must start automatically, and new image versions must roll out gradually without downtime. Which object should the administrator create?
Show the answer
Correct answerB. Deployment
A Deployment manages a ReplicaSet to keep the desired number of pod replicas running and performs rolling updates. A DaemonSet is tempting because it also manages pods, but it runs one pod per node instead of a set replica count and is not for versioned rollouts of a web tier.