> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/k8s/geng-xin-ying-yong.md).

# 更新應用

若是我們想要更新 container 的版本的話可以下以下指令（也就是說原本 docker image tag v1 版本改進到 v2 版本，我們可以透過更新 docker image 來進行進版）：

```
kubectl set image deployments/docker-python-flask-demo docker-python-flask-demo=docker.io/kdchang/docker-python-flask-demo:v2
```

<div align="left"><img src="https://529150212-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lh81JtaIQ84bwQqz_Wh%2F-Lk8WpXekdONnO8R_p61%2F-Lk8XBV_YWhAx65E-tpw%2Fimage.png?alt=media&amp;token=38b1c040-e690-472a-aebd-5b4f8f2e549e" alt=""></div>
