Last active
December 1, 2019 08:04
-
-
Save non-static/bc923bcff7ab0712b570e72d02c3abf1 to your computer and use it in GitHub Desktop.
Run a temp docker image with kubectl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # It is goint to create a new pod with all sidecars injected. | |
| kubectl run [-n <namespace>] -i --rm --restart=Never busybox --image=odise/busybox-curl -- sh -c "curl -i -X POST -d 'body=parameters' 172.17.0.4:80/post" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment