Please seek support through the mesos DNS channels: https://github.com/mesosphere/mesos-dns#contact
On Fri, Jul 26, 2019 at 9:50 AM Marc Roos <m.r...@f1-outsourcing.eu> wrote: > > Is it possible to configure a task with srv record weight? > > > [@ mesos-cni]# dig +short @192.168.10.151 _webchat._tcp.marathon.mesos > SRV > 0 0 8181 webchat-jygxm-s1.marathon.mesos. > 0 0 8181 webchat-h3q8o-s1.marathon.mesos. > > > { > "id": "/webchat", > "user": "nobody", > "cpus": 1, > "mem": 256, > "disk": 0, > "instances": 1, > "acceptedResourceRoles": ["*"], > "upgradeStrategy": { "minimumHealthCapacity": 0, > "maximumOverCapacity": 0 }, > "constraints": [["hostname","CLUSTER","c04.local"]], > "backoffSeconds": 10, > "env": { "TOMCAT_HTTP_PORT": "$PORT0" }, > "networks": [ > { "mode": "container", "name": "cni-apps" } > ], > "container": { > "type": "MESOS", > "docker": { > "image": "webchat:4.2.0", > "credential": null, > "forcePullImage": true > }, > "portMappings": [ > { "containerPort": 8181, "protocol": "tcp", "name": "http"} > ] > }, > "labels": { > "HAPROXY_GROUP": "webchat", > "HAPROXY_0_BACKEND_HTTP_HEALTHCHECK_OPTIONS": "n httpchk HEAD > /webchat/ HTTP/1.1\r\nHost:localhost" > }, > "healthChecks": [ > { > "gracePeriodSeconds": 300, > "intervalSeconds": 30, > "timeoutSeconds": 5, > "maxConsecutiveFailures": 3, > "portIndex": 0, > "path": "/webchat/", > "protocol": "MESOS_HTTP" > > } > ] > } > > >