Skip to content

Document TCP-only operation #226

@pnovotnak

Description

@pnovotnak

I am using memberlist in a kubernetes environment. Kubernetes doesn't doesn't provide a nice experience for exposing mixed protocol ports externally via loadblanacers. I'd like to use just TCP or UDP, but I need to send reliable messages – I think that means TCP is my only option?

Unfortunately when I use tcp-only load balancers or nodeports memberlist nodes are not able to assemble. The nodes are able to establish a tcp connection (Initiating push/pull sync) but for some reason are unable to ack:

node joined: test-1
memberlist: Initiating push/pull sync with:  10.0.0.10:4001
memberlist: Suspect test-1 has failed, no acks received
memberlist: Suspect test-1 has failed, no acks received
memberlist: Marking test-1 as failed, suspect timeout reached (0 peer confirmations)

It would be good to clarify in the docs whether this is possible, because it's really unclear at the moment. If it's not possible, I wonder what it would take to make this work?

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