Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GitOps Happy Hour: Storing (g)it

GitOps Happy Hour: Storing (g)it

Working with Storage in a GitOps world

Red Hat Livestreaming

December 17, 2020
Tweet

More Decks by Red Hat Livestreaming

Other Decks in Technology

Transcript

  1. Storing (g)it Working with Storage in a GitOps world GitOps

    Happy Hour 1 Christian Hernandez Cloud Platforms BU
  2. A broad spectrum of static and dynamic storage endpoints OPENSHIFT

    CONTAINER PLATFORM | Persistent Storage NFS GlusterFS OpenStack Cinder Ceph RBD AWS EBS GCE Persistent Disk iSCSI Fiber Channel Azure Disk Azure File FlexVolume VMWare vSphere VMDK Container Storage Interface (CSI)** NetApp Trident* 2
  3. PV Consumption OPENSHIFT CONTAINER PLATFORM | Persistent Storage Node POD

    CONTAINER Claim Z apiVersion: v1 kind: Pod metadata: name: mypod spec: containers: - name: myfrontend image: nginx volumeMounts: - mountPath: "/var/www/html" name: mypd volumes: - name: mypd persistentVolumeClaim: claimName: z PV Kubelet Storage /foo/bar 3
  4. iSCSI PV iSCSI PV NFS PV NFS PV Static Storage

    Provisioning OPENSHIFT CONTAINER PLATFORM | Persistent Storage Admin PersistentVolumes NFS PV iSCSI PV ... Claim Z 2Gi RWX Bind User POD CONTAINER ... VolumeMount: Z Pod Definition Mount Define/Map 2Gi NFS 4
  5. Dynamic Storage Provisioning OPENSHIFT CONTAINER PLATFORM | Persistent Storage Admin

    StorageClass Claim Z 2Gi RWX Good Bind User ... VolumeMount: Z Pod Definition Mount Fast NetApp Flash Block VMware VMDK Good NetApp SSD API Server NetApp SSD 2Gi NFS PV Create Map POD CONTAINER 5
  6. Challenges in a GitOps world OPENSHIFT CONTAINER PLATFORM | Persistent

    Storage 6 Dynamic Storage provisioning ◦ (By default) storage reclaim policy is set to “Delete” ◦ Little control ◦ Reclaiming storage after disaster is a manual process ▪ It’s less work restoring from backup Manual Storage provisioning ◦ Storage needs to be set up for each application ◦ Keeping track of what is what ◦ More control means more steps Other things to consider ◦ File permissions ◦ Restoring from backups
  7. Challenges in a GitOps world OPENSHIFT CONTAINER PLATFORM | Persistent

    Storage 7 Dynamic Storage provisioning ◦ (By default) storage reclaim policy is set to “Delete” ◦ Little control ◦ Reclaiming storage after disaster is a manual process ▪ It’s less work restoring from backup Manual Storage provisioning ◦ Storage needs to be set up for each application ◦ Keeping track of what is what ◦ More control means more steps Other things to consider ◦ File permissions ◦ Restoring from backups There’s no magic bullet