In this 35 minute talk recorded at TechSummit.io Amsterdam you will learn about deploying stateful apps in Docker containers on Kubernetes. First I will describe how app owners build their stateful apps using StatefulSets
and PersistentVolumeClaims
, and how these are underpinned by infrastructure resources like PersistentVolumes
and StorageClasses
. If your stateful app is a single instance database these basics might be enough, but with a scale-out database a bit of application specific glue is needed to manage this scaling gracefully. A few design patterns are emerging to provide this glue and I will touch on a few of them.
Included are two demos with persistent storage dynamically provisioned by NetApp Trident with Kubernetes v1.6.4:
- Single instance WordPress + MySQL
- Scale-out with MongoDB
I hope you like it!
As always, comments are welcome!