How to specify multiple ports on same upstream service?

I am trying to integrate consul into Zookeeper. Each instance has 2 (server and election) ports but I can only specify one port. Service tags seem to be the way around it. I set the service tags (server-, election-) for each instance of Zookeeper and refer to them in the upstream annotations of each peer. Is that what they should be used for?

1 Like

hi fouadsemaan, were you able to get a solution for this ?