OpenShift Container Storage - Red Hat Hybrid Cloud

Transcription

OPENSHIFT CONTAINER STORAGEOpenShift commons MilanCarlos TorresChris BlumStorage SASenior ArchitectStorage BU1

POSSIBLE STORAGE PROVIDERShttps://docs.openshift.com

STORAGE PROVISIONING IN OPENSHIFT STATIC PROVISIONINGStorage Admin creates storage volumes upfrontOpenShift selects a predefined volume based upon claim, nearest available sizeNo automated housekeeping - causing administrative burdenError Prone due to increasing complexity and resulting administrative overhead DYNAMIC PROVISIONINGOpenShift user requests for storage by persistent volume claim (PVC)Storage system does the needful in an automated wayDelivers the exact requested size and type storage volumeNo administrative overhead and storage admin involvement upfrontAutomated housekeeping, better efficiency

4 BASIC STORAGE NEEDS IN OPENSHIFT REGISTRY STOREWhere container base images reside.By default not redundant, therefore possible point of failure. OCS resolves this. PERSISTENT FILE STORAGE FOR CONTAINERSContainer application state is held in this persistent file storage PERSISTENT BLOCK STORAGE FOR CONTAINERSSpecific storage type for specific workloads the require certain performancei.e. Database workloads, Logging where Elastic or equivalents are involved. EPHEMERAL STORAGEApplication internal storage, also named EmptyDir.Outside scope for container storage

STORAGE OPTIONS FOR CONTAINERSPORTABLE STORAGE ACROSSON-PREM / MULTIPLE PUBLIC CLOUDSSTORAGEARRAYS AND APPLIANCESSILOED OR POINT PLAYSTORAGE SOLUTIONSOpenShift Container Storagefrom Red Hat Runs in public clouds Scalability and high availabilityfall short of customer needs Vendor lock in and high TCO Monolithic appliance model No hybrid cloud support No unified control plane (K8s) Lack of automated or dynamichandling of storage needs Single Vendor Support model Seamless user experience fordevelopers and DevOps Full integration and all automated

Consistent Storage Experience Across Hybrid CloudAPPLICATION PORTABILITY AND LOWER COSTSBARE OUDRED HAT OPENSHIFT CONTAINER STORAGERED HAT OPENSHIFT CONTAINER PLATFORMLEGACYSTORAGE

OCS 3OpenShift Container StorageBased on GlusterFS technology

OPENSHIFT PLATFORM STORAGE NEEDSOCP InfrastructureOCP ApplicationRegistryService 1MetricsLoggingService 2Openshift Container Storage focusLocal/EphemeralStorage

PERSISTENT STORAGE FOR CONTAINERSVALUE PROPOSITION FOR STORAGE ADMIN VS. DEVOPSSTORAGE FOR CONTAINERSSTORAGE IN CONTAINERSPersona: Storage Admins, Infrastructure Admins Leverage existing investment in traditionalstorage, managed by storage adminAttach to stand alone storagePersona: DevOps, App Architects Highly scalable, enterprise-gradestorage, fully integrated into OpenShiftContainer Platform

OCS Data PlaneCONTAINERIZEDRED HAT STORAGEPODSTORAGEVOLUMESRED HATSTORAGEPODHOST NETWORKPHYSICAL DISKRHEL HOST OS

OCS Control PlaneHEKETIRESTFUL STORAGEMANAGEMENTRHGSPODRHGSPODREST APIINFRAINFRARED HATHEKETI PODSTORAGE PODSRHGSPODPODPODRHGSPOD

OCS product featuresMore relevant since v3.9

OCS 3.11 supportAligned with the OCP lifecycle dates/openshift

OCP v4 storage integration requirementsNew challenge for storage vendors Operator framework for standard lifecycle managementNew industry standard storage API with CSI (Container StorageInterface) integrated with kubernetes offering: Storage Classes which provide configuration to CSI drivers Ability to encrypt credentials Multiple CSI drivers can co-exist Ensure that one controller service start at a time

CSI plugin components (API calls)CONTROLLER Service. CreateVolume. DeleteVolume. ListVolume. ControllerPublishVolume. ControllerUnpublishVolume. ValidateVolumeCapabilities. GetCapacity. CreateSnapshot. DeleteSnapshot. ListSnapshot. ControllerGetCapabilitiesNODE Service. NodeStageVolume. NodeUnstageVolumeIDENTITY Service. GetPluginInfo. GetPluginCapabilities. NodePublishVolume. NodeUnblishVolume. NodeGetVolumeStats. NodeGetInfo. NodeGetCapabilities. Probe(ProbeRequest)

It’s OCS 3.11 ready for OCP 4.2?Use case for fresh new OCP 4.2 clusterNew OCP v4 clusterIs OCS 3.11supported?NoDo we havea solution?YesOCS v4.2

It’s OCS 3.11 ready for OCP 4.2?Use case for existent OCP 3.11 to OCP 4.2From OCP v3.11 to OCP 4.2Is OCS 3.11supported?NoDo we havea solution?YesOCS v4.2OK but what do we do withmy existent pvc?Do we havea migrationplan?YesMigration toolIntegrated in OCP

OCS 4OpenShift Container Storage

OPENSHIFT OPERATOR FRAMEWORK Goal of an Operator: Put operational knowledge into software Day-1: Operators implement and automate common installation, configuration Day-2: Re-configuration, update, backup, failover, restore Kubernetes-native application(integrating natively with Kubernetes concepts and APIs)

WHAT CHANGED OPENSHIFTOpenShift transitions from OCP 3 to OCP 4 OPENSHIFT CONTAINER STORAGEalso transitions from OCS 3 to OCS 4 OCS 4 will be based on ROOK.IO, which uses Red Hat Ceph Storageand the recently acquired NooBaa technology as the Red Hat Multi Cloud Gateway Will OCS 3 work with OCP 4?NO. Migration tooling will be available to facilitate the move to OCS 4.x. MIGRATION PATHThere will be a supported migration path offered for OCS 3 to OCS 4

THE OCS 4 TECHNOLOGY STACK21

WHY WE MOVE TO CEPH MOTIVATIONAs cloud-native applications have evolved, we are noticing more customer requestsfor a native, easy to use S3/object interface(apps like registry, chargeback, metering, AI/ML) in addition to traditional persistentvolumes (RWX & RWO) on the platform.By leveraging Ceph, OCS can now provide a production-grade S3 interface inaddition to persistent volumes for stateful applications.

ROOK ROOK ProjectCLOUD-NATIVE STORAGE ORCHESTRATORautomated deployment and life-cycle management BootstrappingConfiguration, provisioning, scaling, upgrading, migration, disasterrecovery, monitoring, and resource managementhttps://rook.io

ROOK cesStorageClass / PV / PVCClusterRoleNamespaceConfig MapskubectlNew Objects:StorageClustersStorage PoolsObject StoreFile StoreKubernetesAPIClient onsAttach/MountRookAgent(flex)KubeletCephCSIDriver

CEPH ON OPENSHIFT WITH ROOK

ABOUT NOOBAA OCS MULTI CLOUD GATEWAY (NOOBAA)NooBaa provides a consistent S3 endpoint across different infrastructures(AWS, Azure, GCP, Bare Metal, VMware) OCS MCG FUNCTIONALITYMulti Cloud Object Gateway: Active/Active read/write across different clouds. PRODUCTIZATIONproductized as RHOCS Multi-Cloud Gateway, starting with OCS 4.2(NooBaa, is upstream only, downstream OCS Multi-Cloud-Gateway)

MULTI-CLOUD OBJECT GATEWAYAppAppAppS3 APIMulti-Cloud BucketMulti-Site BucketHybrid BucketRED HAT OPENSHIFT CONTAINER STORAGEACTIVE - ACTIVE MULTI CLOUD - READ/WRITE28

SUMMARIZINGOpenShift Container Storage

OCS 4.x Operator Install, Upgrade, ExpansionOCS Operator based on Rook.io with Operator Lifecycle Manager (OLM)Object Bucket Claim30

OCS 4.x Operator Driven Install from OperatorHubOCSOperator31

INTEGRATED MONITORING AND MANAGEMENTOCS Dashboard32

OCS INTEGRATED DASHBOARDHealth, Capacity, Performance, Configuration

OCS INTEGRATED DASHBOARD - ALERTSMonitoringand Alerts34

FUNCTIONALITIES AND SUPPORTABILITY FUNCTIONALITIES- OCS 4.2 has FILE, BLOCK, and OBJECT support- OCS 4.2 supports Prometheus- OCS 4.2 will be FIPS compliant SUPPORTABILITIES- VMWarestorage provisioned from VMDKs and RDMs- PUBLIC CLOUDsupported in all public cloud environments where OCS 3 is supported today,including AWS (OCS 4.2),Azure and Google Cloud (OCS 4.3)

ANY CLOUD, ANY APP, ONE STORAGE EXPERIENCERED HAT OPENSHIFT CONTAINER STORAGEBARE METALVIRTUALMACHINESCONTAINERSPUBLIC CLOUDAWS, AZURE, GCPLEGACYSTORAGEConsistent consumption, management, operationsFuture Proof against cloud or infrastructure lock-in36

COMPLETE STORAGE FOR CONTAINER PLATFORMRWO - BlockRWX - FileObject S3RED HAT OPENSHIFT CONTAINER STORAGEBARE METALVIRTUALMACHINESCONTAINERSPUBLIC CLOUDAWS, AZURE, GCPLEGACYSTORAGEProvides Storage for All Apps and infrastructure Servicesin their native interfaces37

SKU’s NO SKU CHANGESOCS 3.X and OCS 4.x will have the same subscription model;there are no plans to change this.Please note that customers will still be buying and consuming OCS(even though the underlying technology will be different)using the same SKUs that we have todaywhich will provide access to the new Ceph-related content set.

THE FACTS - SUMMARY CONTAINERS ARE SYSTEM PROCESSES AND ARE VOLATILE BY DEFAULT CONTAINERS THEREFORE NEED PERSISTENT STORAGE OCP 4 USES OPERATORS TO MANAGE THE ENTIRE OCP CLUSTER RHOCS NOW CHANGES AND WILL NOW USE CEPH AND NOOBAA ‘UNDER THE HOOD’ OCS 4.2 IS PLANNED TO BECOME GENERAL AVAILABLE STARTING AT OCP 4.2 OCS 4.2 WILL OFFER FILE, BLOCK AND OBJECT STORAGE SKU PROPOSITION WILL REMAIN THE SAME

CONFIDENTIAL DesignatorThank youRed Hat is the world’s leading provider HatVideosenterprise open source software solutions.Award-winning support, training, and consultingfacebook.com/redhatincservices maketwitter.com/RedHatRed Hat a trusted adviser to the Fortune 500.40

REFERENCE HYPERLINKSOCS Sales Velero Migration Toolinghttps://youtu.be/VvqsKjAvCx4OpenShift Storage for ment

AGENDA - Part I42 APPLICATION PROPERTIES AND BEHAVIOUR TRANSITION FROM APPLICATION INTO MICROSERVICES TYPICAL PROPERTIES OF A MICROSERVICE APPLICATION STATE AND PERSISTENCE STORAGE PROVIDERS THAT CAN BE CONSUMED BY OPENSHIFT STORAGE PROVISIONING OPTIONS THE FOUR STORAGE NEEDS IN OPENSHIFT OCS: VALUE ADD TO THE BUSINESS FACTS

APPLICATION PROPERTIES AND BEHAVIOURTRADITIONAL APPLICATION

APPLICATION PROPERTIES AND BEHAVIOURMODERN APPLICATION

MICRO-SERVICES & CONTAINERSMicroservices architecture is different from containersUIMonolithMQSMDBCoreExtRefactoring of applicationInto components (micro-services) Microservices architecture is about writing applicationsso that components can be independently updated anddelivered to complete the product May use containers for each of the components Monolith vs componentized Each component can evolve independentlyExtDBCoreSMUIContainersEncapsulating micro services

A CONTAINER IS A SYSTEM PROCESS

A SYSTEM PROCESS THAT PRODUCES STATE

A STOPPED PROCESS CAUSES LOSS OF THAT STATE

NEED FOR PERSISTENT STORAGECONTAINERS NEED STORAGEContainers are not persistent by default. App data is lost when containers die.

RED HAT SOLUTION: RHOCSRED HAT OFFERS A FULLY INTEGRATED STORAGE SOLUTION FOR OPENSHIFTObjection: “We don’t need your storage, we already have an existing storage solution present”

LEVERAGE LEGACY STORAGE.WITH OPENSHIFT CONTAINER STORAGE CONVERGED MODEPERSISTENT VOLUMES PROVIDED BY OPENSHIFT CONTAINER STORAGEOPENSHIFTCONTAINERSTORAGE PODBLOCKDEVICEOPENSHIFTCONTAINERSTORAGE STORAGE PODBLOCKDEVICEISCSI SANOPENSHIFTCONTAINERSTORAGE PODBLOCKDEVICEOPENSHIFTCONTAINERSTORAGE PODBLOCKDEVICESHARED SAS

SNAPSHOTS AND GEO-REPLICATIONOPENSHIFT CONTAINERSTORAGE VOLUMERead-WriteOPENSHIFT CONTAINERSTORAGE VOLUMEVOLUMEGLUSTERReadOnlyread-onlyAsynchronous ReplicationSite ASite BBEFORE SNAPSHOTAFTER SNAPSHOTCURRENT FILESYSTEMABCCURRENT FILESYSTEMSNAPSHOTDABCAFTER MODIFICATIONSDCURRENT FILESYSTEMSNAPSHOTABCDBD DeletedDataModifiedDataE1E2New Data

SUMMARY FACTS CONTAINERS ARE SYSTEM PROCESSES CONTAINER STATES ARE VOLATILE BY DEFAULT CONTAINERS THEREFORE NEED PERSISTENT STORAGE EXISTING STORAGE ENTITIES CAN BE USED IN CONJUNCTION WITH OPENSHIFT EXISTING STORAGE ENTITIES OFTEN JUST ADDRESS ONE SINGLE PART OF THE 4 NEEDS PROVISIONING AND HANDLING OF CONTAINER STORAGE BECOMES COMPLEX SOON DIFFERENT STORAGE NEEDS IN OPENSHIFT REQUIRE DIFFERENT SOLUTIONS RED HAT OFFERS OCS - NOT JUST ANOTHER STORAGE SOLUTION - A STORAGE MANAGER OCS: VALUE ADD TO THE BUSINESS - NO DIY PLUMBING OF EXISTING THINGS -

AGENDA - Part II OCP 4 - BRIEF INTRODUCTION INSTALLATION EXPERIENCES: IPI & UPI OPERATOR FRAMEWORK WHAT HAS CHANGED WITH RHOCS COMPONENTS: ROOK, CEPH & NOOBAA RED HAT ENTERPRISE SOLUTION FUNCTIONALITIES AND SUPPORTABILITY THE FACTS - SUMMARY

OCP 4brief introduction

TRUSTED ENTERPRISE KUBERNETES Trusted Host, Content, PlatformFull Stack Automated InstallOver the Air Updates & Day 2 MgtA CLOUD-LIKE EXPERIENCE, EVERYWHERE Hybrid, Multi-Cluster ManagementOperator FrameworkOperator Hub & Certified ISVsEMPOWERING DEVELOPERS TO INNOVATE Developer Preview: try.openshift.comOpenShift Service Mesh (Istio)OpenShift Serverless (Knative)CodeReady Workspaces (Che)

FULL STACK AUTOMATED INSTALL UPGRADEOPENSHIFT 3OPENSHIFT PLATFORMOPENSHIFT 4OPENSHIFT PLATFORMOPERATING SYSTEMOPERATING SYSTEMINFRASTRUCTURE57

OPENSHIFT PLATFORMINSTALLATION EXPERIENCESOPENSHIFT CONTAINER PLATFORMFULL d opinionated “BestPractices” for cluster provisioningCustomer managed resources &infrastructure provisioningFully automated installation andupdates including host containerOS.Plug into existing DNS and securityboundaries

OPENSHIFT PLATFORMIPI: FULL STACK AUTOMATED DEPLOYMENTDay 1: openshift-install - Day 2: OperatorsUser managedOperator managedControl PlaneWorker NodesOCP Cluster ResourcesOCP Clusteropenshift-install RHELCoreOSCloud ResourcesCloud Resources

OPENSHIFT PLATFORMUPI: DEPLOYING TO EXISTING INFRASTRUCTUREDay 1: openshift-install - Day 2: Operators Customer Managed Infra & WorkersUser managedOperator managedControl PlaneWorker NodesOCP Cluster Resourcesopenshift-install deployedOCP ClusterNote: Control plane nodesmust run RHEL CoreOS!RHRHCoreOSCoreOSRHELCoreOSCustomer deployedCloud ResourcesRHELCoreOSRHEL 7Cloud Resources

OPENSHIFT PLATFORMRED HAT ENTERPRISE LINUXGeneral Purpose OSImmutable container hostBENEFITS 10 year enterprise life cycle Industry standard security High performance on any infrastructure Customizable and compatible with wideecosystem of partner solutions Self-managing, over-the-air updates Immutable and tightly integrated withOpenShift Host isolation is enforced via Containers Optimized performance on popularinfrastructureWHEN TO USEWhen customization and integration withadditional solutions is requiredWhen cloud-native, hands-free operationsare a top priority

OPENSHIFTOPERATORFRAMEWORKPicture source: pexels.com

OPENSHIFT OPERATOR FRAMEWORKOpenShift 4 uses OPERATORS to manage EVERY ASPECT of the cluster.This includes operators that manage essential Kubernetes project components likethe api server, scheduler, and controller manager.Additional operators for components like the cluster-autoscaler, cluster-monitoring,web console, dns, ingress, networking, node-tuning, and authentication are included toprovide management of the entire platform.

i.e. Database workloads, Logging where Elastic or equivalents are involved. EPHEMERAL STORAGE Application internal storage, also named EmptyDir. . RED HAT OPENSHIFT CONTAINER STORAGE MULTI-CLOUD OBJECT GATEWAY App Multi-Cloud Bucket Multi-Site Bucket App App Hybrid Bucket S3 API 28 ACTIVE - ACTIVE MULTI CLOUD - READ/WRITE.