](https://2.bp.blogspot.com/-x4FmFXdzw30/Vv7KAAQ21wI/AAAAAAAAChM/QWv8Y03lIsU4JBqjE3XFQU2EtzZgogylA/s1600/deployment-API-3.png)
After a while, you’ll find the update seems stuck. What happened?
### Debugging your rollout
If you look closer, you’ll find that the pods with the new “kitty” tagged image stays pending. The Deployment automatically stops the rollout if it’s failing. Let’s look at one of the new pod to see what happened:
```
$ kubectl describe pod/update-demo-1326485872-a4key
```
Looking at the events of this pod, you’ll notice that Kubernetes failed to pull the image because the “kitty” tag wasn’t found:
Failed to pull image "gcr.io/google\_containers/update-demo:kitty": Tag kitty not found in repository gcr.io/google\_containers/update-demo
### Rolling back
Ok, now we want to undo the changes and then take our time to figure out which image tag we should use.
```
$ kubectl rollout undo deployment/update-demo
deployment "update-demo" rolled back
```
[