Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liubin/mesos-marathon-deimos-vagrant
https://github.com/liubin/mesos-marathon-deimos-vagrant
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/liubin/mesos-marathon-deimos-vagrant
- Owner: liubin
- License: apache-2.0
- Created: 2014-07-04T07:21:53.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-17T06:33:54.000Z (about 8 years ago)
- Last Synced: 2024-01-26T08:01:41.748Z (5 months ago)
- Language: Shell
- Size: 5.86 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-mesos - Mesos Marathon Deimos Vagrant
README
Mesos + Marathon + Deimos on Vagrant example
=============================Basically under the instruction of http://mesosphere.io/learn/run-docker-on-mesosphere/
#Requirements(Tested on):
* VirtualBox: 4.3.12+
* Vagrant: 1.5.0#Howto Use
##Setup Vagrant
In your host run.
```
$ git clone https://github.com/liubin/mesos-marathon-deimos-vagrant.git
$ cd mesos-marathon-deimos-vagrant
$ vagrant up
```this will take a long time to complete.
##Pull ubuntu Docker Image
From here run in Ubuntu VM.
```
$ docker pull ubuntu
```this may take a long time too.
##Submit a job
```
$ cd /vagrant
$ curl -X POST -H "Content-Type: application/json" localhost:8080/v2/apps [email protected]
```##Confirm
use one of below to confirm the result.
* On http://localhost:8080/ to confirm that the job has running task.
* On http://localhost:8090/ to confirm that you can see the "Hello World"
* use `sudo docker ps` to conrim the conatiner is running.##Attention
I failed when submit a job with CPU share rate is set to `.5` as offical document, that lead mesos can not find a node to execute the job.So I changed it to `.1`, at least as an example it can run now.
#Feedback
welcome to [email protected]