docker containers orchestration

13
Docker Containers Orchestration Dmitry Fedorov

Upload: dmitry-fedorov

Post on 09-Aug-2015

134 views

Category:

Documents


5 download

TRANSCRIPT

4/4/2015 Docker Containers Orchestration

http://127.0.0.1:3999/orchesration.slide#1 1/16

Docker Containers OrchestrationDmitry Fedorov

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

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/2015 Docker Containers Orchestration

http://127.0.0.1:3999/orchesration.slide#1 5/16

Composition

Combine simple objects into more complex ones

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)

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

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"

4/4/2015 Docker Containers Orchestration

http://127.0.0.1:3999/orchesration.slide#1 9/16

Orchestration

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 awayfrom machines (physical or virtual), enabling fault-tolerant and elastic distributedsystems to easily be built and run effectively.

Fault Tolerant

Scalable

High Utilisation

4/4/2015 Docker Containers Orchestration

http://127.0.0.1:3999/orchesration.slide#1 11/16

Architecture

4/4/2015 Docker Containers Orchestration

http://127.0.0.1:3999/orchesration.slide#1 12/16

Offer

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

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.