Skip to content

[Question] Kubernetes Port-Forward #262

@endroca

Description

@endroca

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.

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