Persistent storage for Containers Anil Degwekar What are we - - PowerPoint PPT Presentation

persistent storage for containers
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Persistent storage for Containers

Anil Degwekar

slide-2
SLIDE 2

2

  • f 17

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

slide-3
SLIDE 3

3

  • f 17

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
slide-4
SLIDE 4

4

  • f 17

The Container mobility problem

Node 1 Node 2

Container

Storage Array

Container

Volume export Docker volume volume Docker volume

slide-5
SLIDE 5

5

  • f 17

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.)

slide-6
SLIDE 6

6

  • f 17

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
slide-7
SLIDE 7

7

  • f 17

Past attempts to solve these problems

  • ClusterHQ (Flocker)
  • Portworx
  • Rex-Ray
  • CSI
slide-8
SLIDE 8

8

  • f 17

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

slide-9
SLIDE 9

9

  • f 17

Portworx architecture

Portworx “Software Defined Storage” Layer Off-prem Storage (Cloud)

Driver for Cloud Driver for Storage Array

On-prem Storage (Array) Docker Kubernetes

  • Allows Container volumes to

span arrays

  • A single array volume can be

split into multiple container volumes

  • Supports additional services

– HA – Snapshots – Encryption – Etc.

Mesosphere

slide-10
SLIDE 10

10 of 17

Rex-Ray overview

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

  • Common framework for all

Container orchestrators

  • Runs as a container in Docker
  • Open source
  • Multiple deployment modes

– Standalone – Agent and Controller

slide-11
SLIDE 11

11 of 17

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
slide-12
SLIDE 12

12 of 17

Timeline

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

slide-13
SLIDE 13

13 of 17

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

slide-14
SLIDE 14

14 of 17

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
slide-15
SLIDE 15

15 of 17

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

slide-16
SLIDE 16

Q & A

slide-17
SLIDE 17