Home Explore Blog CI



kubernetes

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

### Updating your application
How about updating the app?  
```  
 $ kubectl edit deployment/update-demo  

 This opens up your default editor, and you can update the deployment on the fly. Find .spec.template.spec.containers[0].image and change nautilus to kitty. Save the file, and you’ll see:  

 deployment "update-demo" edited   
```  
You’re now updating the image of this app from “update-demo:nautilus” to “update-demo:kitty”.  Deployments allow you to update the app progressively, without a service outage.   


[

Title: Updating Kubernetes Application Image
Summary
The content describes how to update the image of a deployed application using the kubectl edit command. It explains how to find the image field in the deployment configuration and change it from 'nautilus' to 'kitty'. This progressive update ensures no service outage.