kubectl-multiforward icon indicating copy to clipboard operation
kubectl-multiforward copied to clipboard

bug when working via teleport

Open KrawczowaKris opened this issue 9 months ago • 0 comments

Hello,

I have this problem, when I connect to the kubernetes cluster via teleport:

$ kubectl-multiforward prod                                             
error upgrading connection: error sending request: Post "https://eleport.example.com:3026/api/v1/namespaces/example/pods/example-service/portforward": dial tcp: lookup eleport.example.com: no such host

It's related to this code where t is removed from the beginning of the line:

hostIP = strings.TrimLeft(req.RestConfig.Host, "htps:/")

If I connect to the cluster via AWS, for example, then everything works correctly.

I installed plugin from the source code.

KrawczowaKris avatar May 21 '24 05:05 KrawczowaKris