Hi, On Mon, Apr 20, 2020 at 10:25 PM Igor Cicimov < ig...@encompasscorporation.com> wrote:
> Hi, > > I have the following template in a server backend: > > server-template tomcats 10 _tomcat._tcp.service.consul resolvers consul > resolve-prefer ipv4 check > > This is the SRV records resolution: > > # dig +short @127.0.0.1 -p 8600 _tomcat._tcp.service.consul SRV > 1 10 8080 ip-10-20-3-21.node.dc1.consul. > 1 10 8080 ip-10-20-4-244.node.dc1.consul. > > The server's weight reported by haproxy is 1 where I expected to see 10. > Just to clarify, is this expected or there is a mixup between priority and > weight? > > Thanks, > Igor > > Giving this another try. Maybe Baptiste can help to clarify which part of the SRV record is considered as server weight, the record priority or the record weight? Thanks, Igor