Skip to content

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

@adamdecaf

Description

@adamdecaf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions