mesos + marathon + docker + weave
so here's a little configuration set of links for standing up a PaaS leveraging mesos, marathon, docker and weave (am using centos 7 on a VM);
- follow the install of the base platform here --> https://open.mesosphere.com/getting-started/install/
- install docker from here --> https://docs.docker.com/engine/installation/centos/
- use this weave script from here --> https://github.com/weaveworks/guides/blob/master/mesos-marathon/centos/weave
- use these service scripts in here --> https://github.com/weaveworks/guides/tree/master/mesos-marathon/centos
- but most importantly, add the following to /usr/lib/systemd/system/mesos-slave.service
Environment=MESOS_DOCKER_SOCKET=/var/run/weave/weave.sock
now you can deploy normally with marathon and have your containers picked up in weave (and mapped)
No comments:
Post a Comment