Presentation is loading. Please wait.

Presentation is loading. Please wait.

Build Container Service by Apache Mesos l Xiao shurenyun.com l

Similar presentations


Presentation on theme: "Build Container Service by Apache Mesos l Xiao shurenyun.com l"— Presentation transcript:

1 Build Container Service by Apache Mesos l Xiao Deshi @ shurenyun.com l coderxiao @

2 1. Introduce Mesos 2. Container Service Use case 3. Container Service by Mesos 4. Mesos Best Practice Agenda

3 Introduce Mesos-cont. Source: Mesosphere

4 Introduce Mesos-cont. Source: Google Images Search

5 Introduce Mesos Datacenter Or Cloud Mesos Cluster Source: Mesosphere

6 Container Service Use case-cont. Source: Amazon

7 Container Service Use case-cont. Source: Google Images Search

8 Container Service Use case-cont. Source: Google Images Search

9 Container Service Use case Source: Azure

10 Container Service by Mesos-cont. Source: Google Images Search

11 Container Service by Mesos-cont. Source: Google Images Search

12 Container Service by Mesos Source: Google Images Search

13 Mesos Best Practice-Cont. 1. Persistent Storage Access to Apache Mesos Mesos-module-dvdi Currently it targets Mesos 0.23.0. a module that lives on the Mesos Slaves (agents) that enables external storage to be created/mounted/unmounted with each task that is assigned to a slave.

14 Mesos Best Practice-Cont. 2. Service Discovery Use Weave and Bamboo/Haproxy

15 Mesos Best Practice-Cont. 3. Monitor Metrics http://mesos.apache.org/documentation/latest/monitoring/

16 Mesos Best Practice 4. Mesos in Docker In Docker #!/bin/bash IP=`hostname -i` docker run -d \ --net=host \ -v /var/run/docker.sock:/var/run/docker.sock \ -v /usr/bin/docker:/usr/bin/docker \ -v /sys:/sys \ dataman/slave sh -c "GLOG_v=1 /usr/sbin/mesos-slave --master=zk://$IP:2181/mesos --log_dir=/var/log/mesos --hostname=$IP --ip=$IP --isolation=cgroups/cpu,cgroups/mem --containerizers=docker,mesos"

17 Thanks All & FAQ


Download ppt "Build Container Service by Apache Mesos l Xiao shurenyun.com l"

Similar presentations


Ads by Google