Merge pull request #3827 from Shopify/fix-plugin-install-docs
Fix plugin install location
This commit is contained in:
commit
de2f760e41
1 changed files with 6 additions and 1 deletions
|
@ -97,7 +97,12 @@ Use the `ingress-nginx` kubectl plugin
|
||||||
|
|
||||||
Install [krew](https://github.com/GoogleContainerTools/krew), then run
|
Install [krew](https://github.com/GoogleContainerTools/krew), then run
|
||||||
```console
|
```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
|
to install the plugin. Then run
|
||||||
```console
|
```console
|
||||||
|
|
Loading…
Reference in a new issue