Skip to content

Commit

Permalink
Merge pull request #3827 from Shopify/fix-plugin-install-docs
Browse files Browse the repository at this point in the history
Fix plugin install location
  • Loading branch information
k8s-ci-robot authored Feb 27, 2019
2 parents be1329b + d4b14b4 commit de2f760
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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://raw.githubusercontent.com/kubernetes/ingress-nginx/master/cmd/plugin/release/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
Expand Down

0 comments on commit de2f760

Please sign in to comment.