Persistent storage for Containers
Anil Degwekar
Persistent storage for Containers Anil Degwekar What are we - - PowerPoint PPT Presentation
Persistent storage for Containers Anil Degwekar What are we talking about? Containers have become popular replacing many Physical / Virtual Machine use cases But: The persistent storage problem for containers is still not fully solved
Anil Degwekar
2
Containers have become popular – replacing many Physical / Virtual Machine use cases But: The persistent storage problem for containers is still not fully solved
– Considered by many to be the #1 challenge for containers adoption in the Enterprise
3
also needs to move
– Using cloud storage – Networked storage (NFS)
4
Node 1 Node 2
Container
Storage Array
Container
Volume export Docker volume volume Docker volume
5
– Plugin required on every node – Plugin options can vary quite a lot – Container movement across node is not seamless – Volume spec is somewhat preliminary – Volumes can get orphaned – No data management features (snapshots, etc.)
6
– But the volume spec is somewhat more advanced compared to Docker
7
8
Docker Flocker-Plugin Docker Flocker-Plugin Flocker-Control- Service user Container 1 Container 2
Storage Array
Flocker volume Flocker volume Flocker-Agent Flocker-Agent Array - plugin Array - plugin Compute node1 Compute node2
ClusterHQ (Flocker) Architecture
9
Portworx “Software Defined Storage” Layer Off-prem Storage (Cloud)
Driver for Cloud Driver for Storage Array
On-prem Storage (Array) Docker Kubernetes
span arrays
split into multiple container volumes
– HA – Snapshots – Encryption – Etc.
Mesosphere
10 of 17
Rex-RAY framework
Storage driver for Array 1 Storage driver for Array 2 Storage driver for Array 3
Docker Kubernetes
Volume plugin for Docker Volume plugin for Kubernetes
Container orchestrators
– Standalone – Agent and Controller
11 of 17
Plugins
– Write a plugin once, and use it with any Container Orchestrator
12 of 17
2013 2014 2015 2016 2017 2018
First release of Flocker ClusterHQ closed First release of CSI First release of Docker First release of Kubernetes First release of Portworx First release of Rex-Ray
13 of 17
Many stateful applications need these services to migrate to Containers
14 of 17
15 of 17
– Keep the container story in mind when developing your solutions – Participate in CNCF and CSI
– Need to come up with some common standards in this space
– Be aware of this issue – If your application uses Block storage – And you want to migrate it to Containers