KubeRunningYourStorage18
2020-02-27 56浏览
- 1.You Have Stateful Apps - What if Kubernetes Would Also Run Your Storage? Annette Clewett, Senior Architect, Red Hat Sudhir Prasad, Product Management Director, Red Hat
- 2.Agenda • Persistent Storage needs in Containers world • Different Container Storage Options and Patterns with Kubernetes • Kubernetes/Orchestrated Storage Runtime Pattern • How Does it work? • Live Demo • Example – OpenShift (Kubernetes) + Red Hat Container Native Storage
- 3.Persistence Container Storage Requirement Infrastructure Registry Metrics Logging Application Service 1 Service 2 PERSISTENT STORAGE FOCUS Local/Ephemeral Storage Stateless Applica,ons, Pod Images
- 4.Persistence Container Storage Options • Local NFS • NAS • SAN • ISCSI • Fiber Channel • Flex • ScaleIO • Gluster • Ceph • AWS - EBS • AWS EFS • Azure • Red Hat CNS • …. • GCP • …. • NetApp w/ Trident • Many Options! • StorageOS • Portworx • Quobyte Mul,ple Op,ons - What to choose? How to Decide? Differen,ate? Do they follow a Design PaCerns ? If so what are they?
- 5.Container Storage Pattern – 1 Adapters to Network File and Block Storage Pod NFS Cinder Plug-ins/Adapters à iSCSI GCE Tradi,onal storage systems Fibre Channel Flex EBS Leverage what you Have Limited leverage of Azure Disk Containers or Kubernetes ScaleIO Gluster Quobyte vSphere Separate Subsystem/ Mgmt
- 6.Pattern 1 Evolution à Container Storage Interface iSCSI NFS Fibre Channel Flex Cinder GCE EBS Azure Disk Other Container Orchestra,on PlaKorms? Make interface standard ScaleIO Gluster Quobyte vSphere Container Storage Interface (CSI)
- 7.Pattern 2 - Exposing Service Interfaces to Orchestrators Container Orchestrator Cluster 1 Adapter Service Interface • Administrator not provisioning storage - UI or CLI • Developer via API / Service Broker • Two Subsystem, Two Cluster/System • Limited Leverage of Container + Kubernetes Value Cluster 2 Storage Runtime Storage Nodes Storage Nodes Storage Nodes
- 8.Pattern 3 à Orchestrated Storage Runtime Container Native Storage , Let K8s run your Storage! Container Orchestrator One Cluster Apps, Software Defined Network, Software Defined Storage NODE 1 APP Container APP Container Service Interface Adapter NODE 2 APP Container Storage Runtime Storage Nodes NODE 3 NODE 4 APP Container APP Container Storage Nodes Storage Nodes No separate Cluster, Storage like any other service on Kubernetes
- 9.Pattern 3 à Orchestrated Storage Runtime Example : Red Hat Container Native Storage, Let Kubernetes run your Storage! MASTER AUTHENTICATION NODE SCHEDULER … NODE NODE NODE NODE NODE Kubernetes Cluster
- 10.Red Hat Container Native Storage, Let Kubernetes run your Storage! Kubernetes Platform + Container Value Proposition MASTREERD HAT CONNODTAE INER NATIVE STORAGE AUTHENTICATION SCHEDULER … GLUSTER VOLUMES NODE NODE NODE HOST NETWORK PHYSICAL DISK Kubernetes Cluster RHEL HOST OS NODE NODE • Storage runs as a Container on K8s • One Cluster, avoid Cluster Sprawl • One Control and Management Plane • Horizontal Scaling • K8s maintains desired state • Runs everywhere • Private, Public, Virtual, Bare Metal, Hybrid
- 11.Red Hat Container Native Storage, Let Kubernetes run your Storage! Kubernetes Platform + Container Value Proposition MASTREERD HAT CONNODTAE INER NATIVE STORAGE AUTHENTICATION SCHEDULER … NODE NODE NODE NODE NODE Kubernetes Cluster RHEL HOST OS Container Value Prop • Faster Deployment • Rolling Upgrade • Isolation & Portability • Versioning & Reusability • Runs Everywhere • Option to Co Locate with App
- 12.Pattern 3 àOrchestrated Storage RuntimeExample:Red Hat Container Native Storage • One Cluster, One Infrastructure - storage like any other service • One control plane end to end • Exploit full value proposition of Kubernetes + Containers + Software Defined Storage
- 13.EXAMPLE
- 14.Demo Red Hat Container Native Storage • OpenShift à Kubernetes Container Platform • Red Hat Container Native Storage (CNS) • Pattern 3 Orchestrated Storage Runtimes • Based on Gluster – Kubernetes Open Source
- 15.OpenShift (Kubernetes) with Container Native Storage OPENSHIFT / KUBERNETES CLUSTER MASTER NODES OPENSHIFT NODES WITH STORAGE CNS FAST POOL CNS SLOW POOL OPENSHIFT CLUSTER Storage ClassExamples:● FastPool:'>Pool: