ahmetb / kubectl-tree

kubectl plugin to browse Kubernetes object hierarchies as a tree 🎄 (star the repo if you are using)
Apache License 2.0
2.91k stars 118 forks source link

Doesn't take into account cluster.proxy-url #50

Open gabrielbcn opened 2 years ago

gabrielbcn commented 2 years ago

When I use clusters described with a proxy-url in kubeconfig:

- cluster:
    certificate-authority-data: DATA+OMITTED
    proxy-url: http://localhost:9000
    server: ...

I end up getting a timeout to another IP:

Error: failed to get deploy/echoserver: Get "https://XXX/apis/apps/v1/namespaces/default/deployments/echoserver": dial tcp 104.43.X.X:443: i/o timeout

Would it be possible to have this field honoured? Or a workaround?

Thanks