Home Explore Blog CI



kubernetes

6th chunk of `content/en/blog/_posts/2016-04-00-Using-Deployment-Objects-With.md`
9490cd06bfdbc603be7b0433336fb961bfc7d82cd8f18ed200000001000002f1
](https://1.bp.blogspot.com/-6YXQqogAGcY/Vv7JnU7g_FI/AAAAAAAAChE/00pqgQvUXkcgjPzi7NfDnSSRJeBUHFaGQ/s1600/deployment-API-2.png)

Everything’s back to normal, phew!  

To learn more about rollback, visit [rolling back a Deployment](/docs/user-guide/deployments/#rolling-back-a-deployment).   

### Updating your application (for real)
After a while, we finally figure that the right image tag is “kitten”, instead of “kitty”. Now change .spec.template.spec.containers[0].image tag from “nautilus“ to “kitten“.  
```  
$ kubectl edit deployment/update-demo  
deployment "update-demo" edited  
```  


[

Title: Updating the Application with the Correct Image Tag
Summary
After rolling back the failed deployment, the correct image tag is identified as 'kitten'. The content describes how to update the application's deployment to use the 'kitten' tag instead of 'nautilus' by editing the deployment using kubectl edit command.