A Mesos framework supports resilient HA service orchestration.
Build Docker images including framework and taskmake buildDocker
Start Mesos docker environmentmake startMesos
Push built Docker images to the docker registry in docker-compose envmake pushDocker
Start the custom Mesos scheduler w/o any configuration, so no tasks running
Go to Marahton or Mesos UI to see if the scheduler running
make startScheduler
Update the config of Mesos scheduler, then the num of tasks will be launched accordingly
Check Mesos console to see if all tasks running by the scheduler. If encountering error due to network issue, please retry.
For scale up - by changing Makefile ‘updateScheulder’ targetnum_of_node: 5
For scale down - by changing Makefile ‘updateScheulder’ targetnum_of_node: 1
make updateScheduler
vagrant up
Four types of executors