What do you mean by "bind to a static IP"? 1. IP Per Container? https://mesosphere.github.io/marathon/docs/ip-per-task.html 2. IP of one dedicated host? https://mesosphere.github.io/marathon/docs/constraints.html 3. Layer 3/4 loadbalancer that will create Virtual IP (VIP)?
niedz., 10 gru 2017 o 23:33 użytkownik Marc Roos <[email protected]> napisał: > > > I downloaded the influxdb docker image and am running it from Marathon, > I would like to bind it to a static ip. What would be the 'best' way to > do this? Sorry for if this is a very basic question. Link to an > appropriate howto is also welcome. > > > > { > "id": "/influxdb", > "cmd": null, > "cpus": 0.5, > "mem": 128, > "disk": 0, > "instances": 1, > "acceptedResourceRoles": [], > "container": { > "type": "MESOS", > "volumes": [], > "docker": { > "image": "influxdb", > "credential": null, > "forcePullImage": false > } > }, > "portDefinitions": [ > { > "port": 10001, > "protocol": "tcp", > "labels": {} > } > ] > } > > > > I have a default setup on centos7: > marathon-1.4.8-1.0.660.el7.x86_64 > mesosphere-zookeeper-3.4.6-0.1.20141204175332.centos7.x86_64 > chronos-2.5.0-0.1.20170816233446.el7.x86_64 > mesos-1.4.0-2.0.1.x86_64 > > Running mesos-dns in Marathon > > > > > > > > > > >

