Peer to peer service communication inside mesh

Hi!

First thanks for the great product you all provides, it is really excited to play around with service mesh in action and see it routing the traffic through my fake microservices setup.

The question I have is around how to enable peer-to-peer communication between the same service (e.g. 3 node patroni cluster).

I was thinking about putting each instance its own group and name slightly differently (pg-1, pg-2, pg-3), then setup upstreams for each instance to point to the other two instances. It seems it would work, but don’t feel right… Basically if I need to say scale it to 5 nodes I need to manually change the job file and add the entries to upstreams

So want to ask for advise for how to handle this case in service mesh. Thanks in advance