Skip to content

Commit

Permalink
fix command in deployment.md (#12776)
Browse files Browse the repository at this point in the history
  • Loading branch information
superyyrrzz authored and k8s-ci-robot committed Feb 22, 2019
1 parent 00caa88 commit 224cebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/concepts/workloads/controllers/deployment.md
Expand Up @@ -172,8 +172,8 @@ Suppose that you now want to update the nginx Pods to use the `nginx:1.9.1` imag
instead of the `nginx:1.7.9` image.

```shell
$ kubectl --record deployment.apps/nginx-deployment set image deployment.v1.apps/nginx-deployment
nginx=nginx:1.9.1 image updated
$ kubectl --record deployment.apps/nginx-deployment set image deployment.v1.apps/nginx-deployment nginx=nginx:1.9.1
image updated
```

Alternatively, you can `edit` the Deployment and change `.spec.template.spec.containers[0].image` from `nginx:1.7.9` to `nginx:1.9.1`:
Expand Down

0 comments on commit 224cebb

Please sign in to comment.