Skip to content

Instantly share code, notes, and snippets.

@jpbruinsslot
Created September 17, 2018 09:42
Show Gist options
  • Select an option

  • Save jpbruinsslot/11ab86c86743ea1a07699de2ca8329ef to your computer and use it in GitHub Desktop.

Select an option

Save jpbruinsslot/11ab86c86743ea1a07699de2ca8329ef to your computer and use it in GitHub Desktop.
Using stdin and curl with kubernetes
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