Created
September 17, 2018 09:42
-
-
Save jpbruinsslot/11ab86c86743ea1a07699de2ca8329ef to your computer and use it in GitHub Desktop.
Using stdin and curl with kubernetes
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
| cat [json-file] | kubectl exec [curl-pod] -- curl -XPOST [service-url] -d @- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment