Skip to content

Commit

Permalink
Add kubectl run for the kubectl version > 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielXLee authored Aug 9, 2021
1 parent d55be1c commit 064eaf4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@ The setup can be done by using `kustomize`.
```shell
kubectl -n default run --generator=run-pod/v1 tmp-shell --rm -i --tty --image quay.io/submariner/nettest -- /bin/bash
```
For `kubectl` version > 1.18
```shell
kubectl run --rm -it --image=quay.io/submariner/nettest nettest -- /bin/bash
```
Try to curl nginx service created in `cluster-b`
Expand Down

0 comments on commit 064eaf4

Please sign in to comment.