Storage in Kubernetes - Meetupfiles.meetup.com/19519977/Kubernetes-Storage.pdfEvolution of Storage...

Post on 30-May-2020

4 views 0 download

Transcript of Storage in Kubernetes - Meetupfiles.meetup.com/19519977/Kubernetes-Storage.pdfEvolution of Storage...

Ardalan KangarlouNetApp10/20/2016

Storage in Kubernetes

© 2016 NetApp, Inc. All rights reserved. 1

Introduction

https://www.linkedin.com/in/kangarlou

https://github.com/kangarlou/kubernetes-storage

© 2016 NetApp, Inc. All rights reserved. 2

https://github.com/netapp

http://netapp.io/

Modern Apps and Storage

© 2016 NetApp, Inc. All rights reserved. 3

12https://12factor.net

Persistence for Containers

© 2016 NetApp, Inc. All rights reserved. 4

Amazon EBS

AmazonS3

Amazon Glacier

Stateless

Stateful

Kubernetes

© 2016 NetApp, Inc. All rights reserved. 5

API Server

etcdScheduler

ControllerManager

Kubernetes MasterKubelet Kube

proxy

Kubelet Kubeproxy

Kubelet Kubeproxy

Kubernetes Node

Evolution of Storage in Kubernetes

© 2016 NetApp, Inc. All rights reserved. 6

Volume Plugins

PersistentVolume FrameworkFlex Plugin

Dynamic Storage ProvisioningStorage ClassesNew in k8s 1.4

Volumes and Volume Plugins

© 2016 NetApp, Inc. All rights reserved. 7

Kubelet

NFS

iSCSIEBS

RBD

GCE PD

GlusterFSCeph

Kubernetes Node Storage

Azure Disk/File

Pod1

Volume1NFS

Persistent Volume Framework

© 2016 NetApp, Inc. All rights reserved. 8

PV110GBRWOiSCSI

Persistent Volumes

PV21GBRWMNFS

PV32GBRWOiSCSI

PV42GBROMNFSPersistent Volume Claims

PVC15GBRWO

PVC21GBRWM

K8SPV Controller

Admin

DeveloperPod1

Pod2

Storage1iSCSI

Storage2NFS

Dynamic Storage Provisioning & Storage Classes

© 2016 NetApp, Inc. All rights reserved. 9

PVC110GBRWO

Admin

Developer

PV21GBRWMNFS

PV12GBRWOiSCSI

Storage1iSCSI

Storage2NFS

Persistent Volumes

GoldProvisioner1

Storage Classes

Persistent Volume Claim

Gold

PV310GBRWOiSCSIGoldProvisioner1

K8SPV Controller

SilverProvisioner1

BronzeProvisioner2

Helpful Links§ Volumes§ http://kubernetes.io/docs/user-guide/volumes/§ https://github.com/kangarlou/kubernetes-storage/volumes

§ Persistent Volumes§ http://kubernetes.io/docs/user-guide/persistent-volumes/§ https://github.com/kangarlou/kubernetes-storage/persistent-volumes

§ FlexVolume§ https://github.com/kubernetes/kubernetes/tree/master/examples/volume

s/flexvolume

§ Dynamic Porvisioning§ http://blog.kubernetes.io/2016/10/dynamic-provisioning-and-storage-in-

kubernetes.html§ https://github.com/kubernetes/kubernetes/tree/master/examples/experi

mental/persistent-volume-provisioning© 2016 NetApp, Inc. All rights reserved.10

NetApp Resources

§ NetApp Docker Volume Plugin:§ https://github.com/NetApp/netappdvp/

§ Kubevoltracker:§ https://github.com/NetApp/kubevoltracker

§ OpenStack drivers:§ https://github.com/NetApp/cinder§ https://github.com/NetApp/manila

© 2016 NetApp, Inc. All rights reserved. 11

© 2016 NetApp, Inc. All rights reserved. 12

Thank You.