Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

16
Seamless Docker Orchestration with SaltStack Joel Crisp -- Director of Cloud Technology Maciej Bajkowski -- COO

Transcript of Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Page 1: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Seamless Docker Orchestration with SaltStack

Joel Crisp -- Director of Cloud Technology Maciej Bajkowski -- COO

Page 2: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Agenda •  Bitfusion Overview •  SaltStack & Container Orchestration •  Demos •  Q&A

Page 3: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack
Page 4: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Technology

Page 5: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Deployment

Page 6: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Seamless Orchestration of VMs and Docker ….beyond installing Docker Engine via SaltStack

Why not other solutions? •  Single Toolchain to manage both – mix Docker and VMs •  Tight integration with existing environment •  Docker tools don’t manage VMs well or at all (Swarm, Compose, Kubernates etc.) •  VM tools aren’t good at very large pools of volatile containers

•  Puppet - IP address keyed •  Chef - too complex •  Ansible - too simple

The Problem

Page 7: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

SaltStack does it all!

•  Deep integration with VMs (salt-cloud) and Docker (docker-ng)

•  Good at highly volatile environments

•  Intelligent Datacenter Management with Reactor

The Solution

Page 8: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Docker has an event (SSE) stream SaltStack has Event Reactors

Publish Docker events on SaltStack event bus! React to Docker events with Salt States! Autoconfigure environments! Publish notifications! … do other cool stuff!

The Saltstack Event System

Master

Event

Reactor

Page 9: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Docker backends •  Has multiple “graph driver” backends •  Use OverlayFS, fast, efficient but needs lots of iNodes

What we use: •  Saltstack Master + Minion: 2015.8.8.2 •  Docker: 1.10.1+ •  Ubuntu: 14.04LTS •  Build AMIs with Packer and Saltstack Provisioner

Getting setup…

Page 10: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Salt Event Reactor

Page 11: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack
Page 12: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

https://docs.docker.com/engine/reference/api/docker_remote_api/

Making it work: Docker Events

Page 13: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Master

Event

Page 14: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack
Page 15: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Demo!

•  GPU-less client container(s) •  GPU-enabled server container •  Bitfusion Boost! •  Automated wiring with Saltstack!

Enabling GPU Accelerated Docker Containers with bitfusion.io and SaltStack

Page 16: Bitfusion Saltconf16 - Seamless Docker Orchestration with SaltStack

Please Provide Feedback

Use the SaltConf16 event app to provide feedback for this presentation.

Find out more at: