> 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="/files/-Lk8XBV_YWhAx65E-tpw" alt=""></div>
