Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: invalid character "{" in host name #13

Open
adamdecaf opened this issue May 16, 2022 · 1 comment
Open

BUG: invalid character "{" in host name #13

adamdecaf opened this issue May 16, 2022 · 1 comment

Comments

@adamdecaf
Copy link

adamdecaf commented May 16, 2022

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
@macdabby
Copy link

I believe that {pod} is meant to be a placeholder where you put your pod name. it's not parsed and completed for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants