Skip to content

liubin/mesos-marathon-deimos-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 -d@job.json

##Confirm

use one of below to confirm the result.

##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 liubin0329@gmail.com

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages