Skip to content

Commit

Permalink
Merge pull request kubernetes#5911 from rihardssceredins/patch-1
Browse files Browse the repository at this point in the history
Change image URL after switching to gcr.io in upgrade guide
  • Loading branch information
k8s-ci-robot authored Jul 20, 2020
2 parents e825af8 + 921ae6f commit 2f32f48
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/deploy/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,20 @@ spec:
spec:
containers:
- name: nginx-ingress-controller
image: quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.30.0
image: us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.34.0@sha256:56633bd00dab33d92ba14c6e709126a762d54a75a6e72437adefeaaca0abb069
args: ...
```
simply change the `0.30.0` tag to the version you wish to upgrade to.
simply change the `0.34.0` tag to the version you wish to upgrade to.
The easiest way to do this is e.g. (do note you may need to change the name parameter according to your installation):

```
kubectl set image deployment/nginx-ingress-controller \
nginx-ingress-controller=quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.33.0
nginx-ingress-controller=us.gcr.io/k8s-artifacts-prod/ingress-nginx/controller:v0.34.1@sha256:0e072dddd1f7f8fc8909a2ca6f65e76c5f0d2fcfb8be47935ae3457e8bbceb20 \
-n ingress-nginx
```

For interactive editing, use `kubectl edit deployment nginx-ingress-controller`.
For interactive editing, use `kubectl edit deployment nginx-ingress-controller -n ingress-nginx`.

## With Helm

Expand Down

0 comments on commit 2f32f48

Please sign in to comment.