From 25a0d7a01cd7b7b6c3db4226104b745da0b050c1 Mon Sep 17 00:00:00 2001 From: Alex Kursell Date: Wed, 27 Feb 2019 12:26:12 -0500 Subject: [PATCH 1/2] Fix plugin install location --- docs/troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index d5f7840e53..cfabdbf80d 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -97,7 +97,7 @@ Use the `ingress-nginx` kubectl plugin Install [krew](https://github.com/GoogleContainerTools/krew), then run ```console -$ kubectl krew install --manifest https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/cmd/plugin/release/ingress-nginx.yaml +$ kubectl krew install --manifest https://github.com/kubernetes/ingress-nginx/releases/download/nginx-0.23.0/ingress-nginx.yaml ``` to install the plugin. Then run ```console From d4b14b40ffbf16cf16549aa091aa31354bc350e8 Mon Sep 17 00:00:00 2001 From: Alex Kursell Date: Wed, 27 Feb 2019 12:57:55 -0500 Subject: [PATCH 2/2] Use incantation from release page --- docs/troubleshooting.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index cfabdbf80d..fea232a66e 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -97,7 +97,12 @@ Use the `ingress-nginx` kubectl plugin Install [krew](https://github.com/GoogleContainerTools/krew), then run ```console -$ kubectl krew install --manifest https://github.com/kubernetes/ingress-nginx/releases/download/nginx-0.23.0/ingress-nginx.yaml +$ ( + set -x; cd "$(mktemp -d)" && + curl -fsSLO "https://github.com/kubernetes/ingress-nginx/releases/download/nginx-0.23.0/{ingress-nginx.yaml,kubectl-ingress_nginx-$(uname | tr '[:upper:]' '[:lower:]')-amd64.tar.gz}" && + kubectl krew install \ + --manifest=ingress-nginx.yaml --archive=kubectl-ingress_nginx-$(uname | tr '[:upper:]' '[:lower:]')-amd64.tar.gz +) ``` to install the plugin. Then run ```console