we run couchbase outside of openshift.
We use a egress proxy (haproxy in tcp mode).
The problem which was reported from the developer is that couchbase sends another ip to connect the the one which was used for the initial connect.
How do I need to configure couchbase or haproxy to use only one IP?
You can try to configure Couchbase Server to use DNS: https://developer.couchbase.com/documentation/server/current/install/hostnames.html, and then make your hostnames resolve properly inside and outside network
Thanks for the suggestion.
We will try this as a possible solution.
How doest this works with sync gateway in place?
The architecture looks like this.
app pod => sync gateway => haproxy | outgoing border (aka Firewall ) => couchbase cluster
What’s the solution from couchbase for a classical 3-tier architecture with a firewall between app & db tier?