Skip to content

Commit

Permalink
simplify test installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfenwick committed Jul 28, 2020
1 parent bf71876 commit b7e5a2f
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,26 @@ In [the plugin.yaml file](./deploy/krew/plugin.yaml):

# How to test a local release

1. download a binary from [the github project release page](https://github.com/mattfenwick/krew-node-pod/releases/tag/v0.0.3)
1. Choose one of the following:

2. run a `krew install` against the downloaded binary
- easy way: `kubectl krew install --manifest=./deploy/krew/plugin.yaml`

```
kubectl krew install --manifest=./deploy/krew/plugin.yaml --archive=/Users/mfenwick/Downloads/node-pod_darwin_amd64.tar.gz
```
- hard way:
1. download a binary from [the github project release page](https://github.com/mattfenwick/krew-node-pod/releases/tag/v0.0.3)

2. run a `krew install` against the downloaded binary

```
kubectl krew install --manifest=./deploy/krew/plugin.yaml --archive=/Users/mfenwick/Downloads/node-pod_darwin_amd64.tar.gz
```

3. test it
2. test it

```
kubectl node-pod
```

4. clean up
3. clean up

```
kubectl krew uninstall node-pod
Expand Down

0 comments on commit b7e5a2f

Please sign in to comment.