Deployments and ReplicaSets
You change the container image of a Deployment. What does Kubernetes do by default?
Choose one answer
A new ReplicaSet scales up while the old one scales down.
Nothing happens until you run kubectl rollout restart deployment.
kubectl rollout restart deployment
It deletes all Pods at once, then starts new ones with the new image.
The kubelet swaps the image of the running containers in place, keeping the Pods.