kubectl-curl
kubectl-curl copied to clipboard
Kubectl plugin to run curl commands against kubernetes pods
I installed kubectl-curl from the README and ran into an error. Install: ``` $ go install github.com/segmentio/kubectl-curl@latest go: downloading github.com/segmentio/kubectl-curl v0.1.5 ``` Error: ``` $ kubectl curl http://{pod}/metrics * ERROR:...
Hi! We use [go-teleport](https://goteleport.com) installed at say `tele.host.com`. Using kubectl curl I get this: ``` m ~/D/ kubectl curl -vvv --debug "http://{podname}:3000/healthz" * 2022/05/15 21:46:39 kubectl get -n default pod/{podname}...
See the code comment for an explanation.
Would it be possible to distribute this plugin via [Krew](https://krew.sigs.k8s.io/)? I believe this would help with the discovery of this plugin & simplifying the installation process 🙂
I would like to be able to do this: $ kubectl curl http://{svc-name}/metrics
When I try to use the --user username:password option, I consistently get this error message: * ERROR: auth info "username:password" does not exist Error: exit status 1 Any chance this...