Skip to content

Commit

Permalink
update set image command in a simpler way
Browse files Browse the repository at this point in the history
update set image command in a simpler way
  • Loading branch information
Melony QIN authored Aug 12, 2019
1 parent 16ae99f commit f1fdb25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/en/docs/concepts/workloads/controllers/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@ Follow the steps given below to update your Deployment:
```shell
kubectl --record deployment.apps/nginx-deployment set image deployment.v1.apps/nginx-deployment nginx=nginx:1.9.1
```
or simply use the following command :
```shell
kubectl set image deployment/nginx-deployment nginx=nginx:1.91 --record
```
The output is similar to this:
```
deployment.apps/nginx-deployment image updated
Expand Down

0 comments on commit f1fdb25

Please sign in to comment.