persistent storage for containers
play

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


  1. Persistent storage for Containers Anil Degwekar

  2. 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 – Considered by many to be the #1 challenge for containers adoption in the Enterprise 2 of 17

  3. The problem • As Containers move from one server to another, the associated storage also needs to move • Easy to accomplish, if – Using cloud storage – Networked storage (NFS) • Not so easy for block storage 3 of 17

  4. The Container mobility problem Container Container Node 1 Node 2 Docker Docker volume volume Volume export Storage Array volume 4 of 17

  5. Docker volume plugins • Docker has a large collection of volume plugins (drivers) • Limitations – 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.) 5 of 17

  6. Kubernetes persistent volumes • Kubernetes also has a large collection of volume plugins (drivers) • Persistent Volume plugins have limitations similar to Docker – But the volume spec is somewhat more advanced compared to Docker • Spec differs considerably from Docker volume plugin spec 6 of 17

  7. Past attempts to solve these problems • ClusterHQ (Flocker) • Portworx • Rex-Ray • CSI 7 of 17

  8. ClusterHQ (Flocker) Architecture user Compute node2 Compute node1 Docker Docker Flocker-Plugin Flocker-Plugin Container 1 Container 2 Flocker-Control- Service Flocker Flocker volume volume Flocker-Agent Flocker-Agent Array - plugin Array - plugin Storage Array 8 of 17

  9. Portworx architecture • Allows Container volumes to span arrays Docker Mesosphere Kubernetes • A single array volume can be split into multiple container Portworx “Software Defined Storage” Layer volumes Driver for Cloud Driver for Storage Array • Supports additional services – HA – Snapshots Off-prem On-prem Storage Storage – Encryption (Cloud) (Array) – Etc. 9 of 17

  10. Rex-Ray overview • Common framework for all Docker Kubernetes Container orchestrators Volume plugin for Docker Volume plugin for Kubernetes • Runs as a container in Docker • Open source Rex-RAY framework • Multiple deployment modes Storage driver Storage driver Storage driver – Standalone for Array 1 for Array 2 for Array 3 – Agent and Controller 10 of 17

  11. Container Storage Interface (CSI) • Interface between Orchestrators and Storage Plugins • Promise – Write a plugin once, and use it with any Container Orchestrator • Managed by CNCF • But: spec is at a preliminary stage 11 of 17

  12. Timeline First First First release of release of release of Docker Kubernetes CSI 2013 2014 2015 2016 2017 2018 First release of First Rex-Ray ClusterHQ release of closed Flocker First release of Portworx 12 of 17

  13. What more is needed • Advanced data management features (snapshots, clones) • Data reduction features (de-duplication, compression) • Encryption Many stateful applications need these services to migrate to Containers 13 of 17

  14. What are we doing in this space • EMC had a partnership with ClusterHQ • Rex-Ray project was open source - part of {code} sponsored by Dell EMC • Dell EMC is a major contributor to CSI • Volume plugin available for ScaleIO • CoprHD has a container solution – open source 14 of 17

  15. Call for action • Storage vendors – Keep the container story in mind when developing your solutions – Participate in CNCF and CSI • Standards bodies – Need to come up with some common standards in this space • Application developers – Be aware of this issue – If your application uses Block storage – And you want to migrate it to Containers 15 of 17

  16. Q & A

Recommend


More recommend