Docker swarm reloaded

Click here to load reader

  • date post

    06-Jan-2017
  • Category

    Engineering

  • view

    173
  • download

    0

Embed Size (px)

Transcript of Docker swarm reloaded

  • Docker Swarm Reloaded

  • GOVINDA FICHTNERPaessler AG Nrnberg The network monitoring company

    Ansible, Chef, Amazon AWS, Linux, CI/CD Python, Ruby/Rails, Go and Docker :)

    DevOps & Cloud Engineer

    Member of the Hypriot Docker Pirates

  • Docker presents Docker 1.12

    Mission Make Orchestration as simple as Containers

  • Orchestration of course means Docker Swarm

  • DOCKER SWARM STANDALONEit is the old Docker native clustering solution

    it is not deprecated

    future versions of Docker will stay compatible with it

    relatively complex to set up

    has external dependencies e.g. distributed key/value store

    lives at https://github.com/docker/swarm

    https://github.com/docker/swarm

  • DOCKER SWARM MODEit is the new Docker Swarm clustering solution

    exists side-by-side with the old Docker Swarm

    disabled by default

    based on https://github.com/docker/swarmkit

    https://github.com/docker/swarmkit

  • DOCKER SWARM MODE FEATURES

    no external dependencies

    simple to set up

    built-in/integrated with Docker-Engine

    secure by default

    managed with the standard Docker CLI

    decentralised & resilient

  • SWARM MODE ARCHITECTURE

    Manager nodes:responsible for orchestrating & maintaining the cluster statecommunication based on the RAFT protocol

  • SWARM MODE ARCHITECTURE

    Worker nodes:receive tasks (containers) dispatched by manager nodesManager nodes can be worker nodes, too

  • SWARM MODE SECURITY

  • DOCKER SWARM MODE CONCEPTS

    Manager Node - dispatches tasks to Worker Nodes & Cluster Management

    Swarm - Cluster of Docker Engines with Swarm Mode enabled

    Node - either Manager or Worker

    Load Balancing - Ingress load balancing on all nodes

    Task - the actual container running on a Worker Node

    Service - Definition of the Tasks that should run on Workers

  • Demo Time

  • DOCKER SWARM MODE DEMO 1

    getting started fast & experiment

    based on Vagrant/Virtualbox

    Github-Repo: https://github.com/hypriot/swarmlab

    https://github.com/hypriot/swarmlab

  • DOCKER SWARM MODE DEMO 2

    its basically a CloudFormation Template & Ami

    based on AWS

    Currently in Beta only via invite

    integrated with AWS infrastructure: ELB, Autoscaling Groups

  • https://github.com/hypriot!

    "

    # http://blog.hypriot.com

    @[email protected]_beagile_ Govinda Fichtner

    GET IN TOUCH

    Image with bird swarm courtesy of Brent M at www.flickr.com/photos/thewakingdragon

    http://www.flickr.com/photos/thewakingdragon