Merge pull request #5911 from rihardssceredins/patch-1

Change image URL after switching to gcr.io in upgrade guide
This commit is contained in:
Kubernetes Prow Robot 2020-07-20 05:52:51 -07:00 committed by GitHub
commit 2f32f4817f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,19 +24,20 @@ spec:
spec: spec:
containers: containers:
- name: nginx-ingress-controller - 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: ... 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): 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 \ 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 ## With Helm