kubectl-curl
kubectl-curl copied to clipboard
BUG: invalid character "{" in host name
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: malformed URL: parse "http://{pod}/metrics": invalid character "{" in host name
I believe that {pod}
is meant to be a placeholder where you put your pod name. it's not parsed and completed for you.