From 921ae6fed33309cc399e05f6a0d2dd7fdc316ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rihards=20=C5=A0=C4=8Deredins?= Date: Mon, 20 Jul 2020 10:53:34 +0300 Subject: [PATCH] Update upgrade guide with the new image registry and add missing -n to commands --- docs/deploy/upgrade.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/deploy/upgrade.md b/docs/deploy/upgrade.md index 509649faa..2c57b00df 100644 --- a/docs/deploy/upgrade.md +++ b/docs/deploy/upgrade.md @@ -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