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

Behavior differs from kubectl port-forward service #23

Closed
Adiqq opened this issue Aug 5, 2019 · 2 comments
Closed

Behavior differs from kubectl port-forward service #23

Adiqq opened this issue Aug 5, 2019 · 2 comments
Labels

Comments

@Adiqq
Copy link

Adiqq commented Aug 5, 2019

I can port forward connection to service with kubectl:
kubectl port-forward -n some-namespace svc/postgres-somecluster-postgresql 5432:5432
However this same does not work correctly with kube-forwarder, because I can't connect with pgAdmin to database. Kube-forwarder indicates that port forward is running correctly.

I'm not sure if that's specific to cluster or postgresql, but I'm using this helm chart to deploy postgres: https://github.com/helm/charts/tree/master/stable/postgresql
Problems occurs on kube-forwarder, version 1.4.0.

Maybe application could show some logs, like kubectl port-forward does, to help troubleshoot this kind of issues?

@proAlexandr
Copy link
Contributor

Hi @Adiqq, thanks for using Kube Forwarder and the bug report.
I have reproduced the issue. I hope we will be able to fix it soon.

@proAlexandr proAlexandr added the bug label Aug 5, 2019
@proAlexandr
Copy link
Contributor

Hi, @Adiqq!
The issue was because of Kube Forwarder didn't support named ports which services can have.
We have released a new version. The version should work well with named ports. I hope it will help you.
Thank you that you have found a bug and helped us make the app better!

@Adiqq Adiqq closed this as completed Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants