16
Persistent Storage with Containers … the short short version John Griffith Garrett Mueller

Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Embed Size (px)

Citation preview

Page 1: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Persistent Storage with Containers … the short short version

John Griffith

Garrett Mueller

Page 2: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Data Persistence Do I need it? Going overboard Keeping it elastic

Agenda

Options Local Remote Data Containers

Demo Maestro

Page 3: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Data PersistenceWhat is it good for?

Page 4: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp
Page 5: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Always try to be stateless, but …

• It’s not a stateless world • Databases are important • Sometimes you just can’t be stateless

Persistent Data

Page 6: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Don’t go crazy, these aren’t VM’s

• We still want micro-services • We still want ephemeral services • BUT we tend to *do things* with data

Persistent Data

Page 7: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Choose wisely

• We still want/need to be elastic • Portability matters • Automation • Scale • Simplicity matters

Persistent Data

Page 8: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

So many choices

Page 9: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

There will be a quiz!

• External storage is often automatically backed up and can do more advanced stuff too

Storage TypesPersist beyond

the container

Share across

containers on the same

host

Available to containers on other

hosts

Dynamically

provisioned

Survives host

outages

EphemeralHost X X

External (Mount) X X X XExternal (Plugin) X X X X X

Page 10: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Rapidly growing number of choices

• Individual device plugins • “Uber” plugins

• management layer • abstraction layer • multiple backend-devices • schedulers

Docker Volume Plugins

Page 11: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

They all have strengths/weaknesses

• NetApp nDVP • SolidFire • REX-Ray • Flocker • Convoy • GCE • Contiv Volume Plugin • …..

Docker Volume Plugins

Page 12: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Futures

Page 13: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Expose more advanced storage concepts but in an app-friendly way

• Snapshots • Clones • Replication • …

Extending Docker Engine

Page 14: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Storage needs to be scheduled too

• Match capabilities to app requirements • … over the entire lifecycle!

• Host and network affinity • … all coordinated with container

scheduling!

Extending into Orchestrators

Page 15: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Let’s do a demo!!

Page 16: Managing Persistent Storage with Docker Containers by John Griffith and Garrett Mueller, NetApp

Thank you!