Kubernetes

What happens after you edit a deployment and change the image?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

The pod will terminate and another, new pod, will be created.

Also, when looking at the replicaset, you'll see the old replica doesn't have any pods and a new replicaset is created.