Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Docker Swarm Love Story

A Docker Swarm Love Story

Presentation chronicles Adgorithmics decision making process and experience with selecting a container orchestration tool.

Brian de Heus

April 27, 2017
Tweet

More Decks by Brian de Heus

Other Decks in Technology

Transcript

  1. A Docker Love Story You either die a monolithic codebase

    or live long enough to see yourself become microservices
  2. About me Brian de Heus - Lead Engineer @ Adgorithmics

    Twitter: @briandotjp Website: brian.jp
  3. Our microservice infrastructure Client Message queue API Gateway Analytics Service

    Remote Sync Service Order Insertion Service Heuristic Event Service Persistent Storage
  4. Mesosphere - what is it • We haven’t figured out

    what it is • Is DCOS Mesos? Is Mesos Mesosphere? Where is Jimmy Hoffa? Do we really need Marathon? • Dependency on Zookeeper
  5. Mesosphere - Orchestration • Can run tasks, not just services

    • Master schedules containers to run on worker nodes • Configurable Readiness- and Health checks
  6. Kubernetes • Run microservices before you can run microservices •

    It’s feature packed, has everything we want • Dependency on ETCD • Too much documentation scattered across their website
  7. Kubernetes - Orchestration • Can run tasks as well as

    services • Scheduler / Controller-manager
  8. Kubernetes - Configuration • Configmaps • Will be mounted, but

    no need to distribute across all worker nodes like with persistent volumes
  9. Docker Swarm (mode) • Simple: docker swarm init • Has

    most things we want • Comes with built-in, undocumented Chaos Monkey™ • Little resources available for learning from other people their mistakes • Good documentation
  10. Docker Swarm - Orchestration • Built-in, install docker and you’ll

    have swarm • Master node schedules containers on worker nodes (and the master node)
  11. Fin