/httpget

Make a HTTP get request from inside a Pod

Primary LanguageShell

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/"