This document discusses different approaches to orchestrating Docker containers, including composition tools like Docker Compose and Fig, schedulers like Mesos and Kubernetes, and PaaS platforms. It notes that Docker Compose works well for development but has limitations for production. Mesos is introduced as an Apache project that abstracts resources away from machines, enabling fault-tolerant and elastic distributed systems. Key aspects of Mesos include its architecture with masters and slaves, the use of resource offers, and frameworks like Marathon for deploying apps.
2. 4/4/2015 Docker Containers Orchestration
http://127.0.0.1:3999/orchesration.slide#1 2/16
Itroduction
Dmitry Fedorov
Wargaming.net web DevOps
Deploying, maintaining, breaking things
3. 4/4/2015 Docker Containers Orchestration
http://127.0.0.1:3999/orchesration.slide#1 4/16
Orchestration?
Classification:
- Something that works from files
- Something with API
- PaaS
Naaaah!
Classification: *(retry)
- Composition: docker-compose (a.k.a fig), Maestro-ng...
- Scheduling: Mesos, Kubernetes...
- PaaS: Flyyn, Deis...
- Configuration Management System: Ansible, Puppet, Chef ... + Foreman
4. 4/4/2015 Docker Containers Orchestration
http://127.0.0.1:3999/orchesration.slide#1 5/16
Composition
Combine simple objects into more complex ones
5. 4/4/2015 Docker Containers Orchestration
http://127.0.0.1:3999/orchesration.slide#1 6/16
Docker Compose
Structure description:
json ( Oh, please, no! )
yaml ( Good try, but no )
what else ... CMDB?
Complaints:
Complex dependencies do not work.
Please, stop being just wrappers around docker cli!
Please, stop trying to be configuration management!
Summary:
Works for cosy developers environment:
Single Host Only (Do not tell me about docker-swarm)
6. 4/4/2015 Docker Containers Orchestration
http://127.0.0.1:3999/orchesration.slide#1 7/16
Schedulers
Distribution makes things harder
A bit of history:
Monolithic
Resource offer concept
Google Omega: optimistic offers
Mesos: Pretty good
Kubernetes: Work in progres
7. 4/4/2015 Docker Containers Orchestration
http://127.0.0.1:3999/orchesration.slide#1 8/16
PaaS
Questions:
Network (no working decision)
Storages (if network was not enougth for you)
Backups
Metrics
Logging
Quote:
Stack - is a new term for "I don't know how this thing works"
9. 4/4/2015 Docker Containers Orchestration
http://127.0.0.1:3999/orchesration.slide#1 10/16
Mesos
Apache Mesos abstracts CPU, memory, storage, and other compute resources away
from machines (physical or virtual), enabling fault-tolerant and elastic distributed
systems to easily be built and run effectively.
Fault Tolerant
Scalable
High Utilisation
12. 4/4/2015 Docker Containers Orchestration
http://127.0.0.1:3999/orchesration.slide#1 13/16
Marathon does it!
Start, stop, scale, update, view apps
Placement constraits
Health checks
13. 4/4/2015 Docker Containers Orchestration
http://127.0.0.1:3999/orchesration.slide#1 14/16
Questions?
All above is a personal author oppinion and not an official Wargaming.net
position... and also could be an absolute crap.