docker_practice/mesos/architecture.md

84 lines
6.3 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

##
Mesos Mesos Mesos Mesos Mesos 使
Mesos 使
###
Mesos
![mesos ](_images/mesos-architecture.png)
Mesos -master-slave使 zookeeper HA
Mesos master Mesos slave
Mesos master
###
Mesos masterslaveframework
#### - master
使
API
#### - slave
LXCDocker
#### - framework
* scheduler
* executor使 Mesos shell Docker
HadoopSpark MPI
###
使
Mesos two-layer
####
master frameworkframework Mesos master framework Mesos master
Dominant Resource FairnessDRF
*DRF Dominant Resource Fairness: Fair Allocation of Multiple Resource Types*
####
offer offer `<1 CPU, 2 GB Mem>`
* slave master
* master offer framework
* framework offer 使使 master
* master framework slave使 framework executor
`<4 CPU, 8 GB Mem>` `<3 CPU, 6 GB Mem>` offer `<slave#1, 4 CPU, 8 GB Mem>` offer `<1 CPU, 2 GB Mem>` `<2 CPU, 4 GB Mem>`
offer offer 使 slave offer master offer
####
framework master offer
####
Mesos
### HA
master 使 ZooKeeper Mesos master
Mesos master slave framework
master slave Mesos