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

[Question] Kubernetes Port-Forward #262

Open
endroca opened this issue Nov 5, 2024 · 0 comments
Open

[Question] Kubernetes Port-Forward #262

endroca opened this issue Nov 5, 2024 · 0 comments

Comments

@endroca
Copy link

endroca commented Nov 5, 2024

I'm testing Olric in a Kubernetes cluster in embedding mode with more than one replica. However, when I try to do a port-forward on port 3320, I get the following error: .

E1105 19:11:16.188662  401772 portforward.go:413] an error occurred forwarding 3320 -> 3320: error forwarding port 3320 to pod x, uid : failed to execute portforward in network namespace "/var/run/netns/x": failed to connect to localhost:3320 inside namespace "x", IPv4: dial tcp4 127.0.0.1:3320: connect: connection refused IPv6 dial tcp6: address localhost: no suitable address found

On another port that the service exports, there's no error.

Is there something I'm doing wrong?

I'm using the following configuration file https://github.com/buraksezer/olric/blob/master/olricd-docker.yaml, and the system is able to form a cluster. However, I couldn't understand this error.

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

1 participant