alexellis / httpget

Make a HTTP get request from inside a Pod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apply the deployment:

kubectl apply -f deployment.yaml

Check it:

kubectl logs deploy/httpget

Forward the deployment:

kubectl port-forward deploy/httpget  8080:8080 &

Trigger a HTTP get

curl -4 "http://127.0.0.1:8080/?q=https://inlets.dev/"

About

Make a HTTP get request from inside a Pod


Languages

Language:Shell 51.3%Language:Go 29.1%Language:Dockerfile 19.6%