πŸ’Ύ Storage

Kubernetes storage recipes: PVCs, StorageClasses, NFS-oRDMA, volume expansion, Velero backups, AI model storage, and performance tuning.

60 recipes 🟒 13 beginner 🟑 32 intermediate πŸ”΄ 15 advanced
beginner ⏱ 10 minutes

Velero v1.18.4: What's New and How to Upgrade

Velero v1.18.4 patches a backup-queue deadlock bug. Minimal changelog β€” upgrade steps, verification, and notes for operators.

velerobackuprestoredisaster-recovery
advanced ⏱ 30 minutes

etcd v3.7.3 for Kubernetes: What's New and How to Upgrade Safely

Patch release etcd v3.7.3 for Kubernetes' control-plane datastore: upgrade steps, backup commands, and verification for operators.

etcdcontrol-planeupgradebackup
advanced ⏱ 15 minutes

Dell PowerScale NFS Access Zones for Kubernetes AI Storage

Configure Dell PowerScale (Isilon) access zones and SmartConnect pools for Kubernetes AI storage with per-environment NFS isolation and IP pool sizing.

storagenfsnetworkingconfiguration
intermediate ⏱ 30 minutes

Velero Kubernetes Backup, Restore and Schedules

Velero backup and disaster recovery for Kubernetes: install on S3/MinIO, velero backup create, schedules with TTL, PV snapshots vs Kopia, restore, migration.

velerobackupdisaster-recoverymigration
intermediate ⏱ 15 minutes

Validate CSI Storage Performance with FIO Kubernetes Job

Benchmark CSI storage performance using FIO inside a Kubernetes Job. Create a PVC backed by a CSI StorageClass, run sequential/random read/write

fiocsistoragebenchmarking
beginner ⏱ 15 minutes

emptyDir Volumes: Sharing, Lifecycle, and Memory-Backed

Master emptyDir volumes for CKA/CKAD exam prep. Share data between containers, understand volume lifecycle across restarts vs Pod deletion, and configure

emptydirvolumesckackad
intermediate ⏱ 15 minutes

PScale NFS and SMB Storage Benchmarking

Benchmark NFS and SMB storage performance on Kubernetes using fio clients in Pods. Covers multi-client parallel testing, bandwidth measurement, and IOPS

benchmarkingstoragenfsperformance
advanced ⏱ 15 minutes

Kubernetes 1.36 CSI Differential Snapshots

Use CSI differential snapshots in Kubernetes 1.36 to track changed blocks between snapshots. Enables incremental backups and faster disaster recovery.

kubernetes-1.36csisnapshotsbackup
intermediate ⏱ 15 minutes

Kubernetes 1.36 OCI Volume Source

Use OCI VolumeSource in Kubernetes 1.36 to pull OCI artifacts directly into Pod volumes. No init containers needed for ML models, configs, or data.

kubernetes-1.36ocivolumescontainers
intermediate ⏱ 15 minutes

Kubernetes 1.36 VolumeGroupSnapshot GA

Use VolumeGroupSnapshot in Kubernetes 1.36 to take crash-consistent snapshots of multiple volumes atomically. Now GA and production-ready.

kubernetes-1.36storagesnapshotsbackup
advanced ⏱ 15 minutes

K8s CSI Drivers: Container Storage Guide

Install and configure Kubernetes CSI drivers for persistent storage. CSI architecture, StorageClass provisioners, snapshots, and volume expansion patterns.

csistoragepersistent-volumessnapshots
beginner ⏱ 8 minutes

K8s Volumes: emptyDir and hostPath Guide

Configure Kubernetes emptyDir and hostPath volumes for temporary storage and host filesystem access. Memory-backed tmpfs, size limits.

volumesstorageemptydirhostpath
intermediate ⏱ 12 minutes

Kubernetes PV and PVC: Persistent Volume Guide

Kubernetes PersistentVolumes and PVCs: dynamic vs static (NFS) provisioning, access modes, reclaim policy, PV lifecycle, Block mode, and expansion.

persistent-volumespersistent-volumepvstorage
beginner ⏱ 10 minutes

K8s PersistentVolumeClaimSpec Reference

Complete PersistentVolumeClaimSpec reference for Kubernetes. accessModes, storageClassName, resources, selector, volumeMode, and dataSource explained.

storagepvcpersistent-volumesstorageclass
advanced ⏱ 20 minutes

etcd Backup and Restore: Kubernetes and OpenShift

Back up and restore etcd on kubeadm and OpenShift: etcdctl/etcdutl snapshots, cluster-backup.sh, automated CronJobs to S3, test restores, and DR steps.

etcdbackuprestoredisaster-recovery
advanced ⏱ 35 minutes

NFS Tenant Segregation Kubernetes

Implement NFS tenant segregation in Kubernetes with six-layer defense-in-depth. Exports, StorageClass, quotas, and admission policies.

nfsmulti-tenancystoragesecurity
beginner ⏱ 15 minutes

emptyDir tmpfs Kubernetes Guide

Configure emptyDir volumes with memory-backed tmpfs on Kubernetes. Size limits, memory accounting, sidecar sharing, and ephemeral cache patterns.

emptydirtmpfsephemeral-storagecache
beginner ⏱ 15 minutes

hostPath vs PVC Kubernetes Guide

Compare hostPath and PVC storage options for Kubernetes. Security risks of hostPath, node affinity constraints, and when to use each storage type.

hostpathpvccomparisonstorage
intermediate ⏱ 15 minutes

Local Persistent Volumes Kubernetes

Configure local persistent volumes on Kubernetes for high-performance storage. Node affinity, local-path-provisioner, and SSD-backed database workloads.

local-pvpersistent-volumenode-affinityperformance
beginner ⏱ 15 minutes

PersistentVolumeClaim PVC Guide K8s

Create and manage PersistentVolumeClaims on Kubernetes. Access modes, storage classes, volume expansion, and namespace-scoped PVC lifecycle.

pvcpersistent-volumestorageaccess-modes
beginner ⏱ 15 minutes

Kubernetes StorageClass Complete Guide

Configure StorageClasses for dynamic provisioning on Kubernetes. Covers reclaim policies, volume binding modes, and cloud provider examples.

storageclassprovisioningdynamicreclaim
intermediate ⏱ 15 minutes

Velero Snapshot Locations on Kubernetes

Configure Velero snapshot locations for Kubernetes backup. Volume snapshots, file system backup, cross-region copies, and backup verification.

velerosnapshotsbackupdisaster-recovery
advanced ⏱ 15 minutes

Build Custom CSI Drivers Kubernetes

Develop custom Container Storage Interface drivers for Kubernetes. CSI spec, controller and node plugins, volume lifecycle, and testing with csi-sanity.

csistorage-driverdevelopmentplugin
intermediate ⏱ 15 minutes

Ephemeral Storage Management Guide

Manage ephemeral storage in Kubernetes with emptyDir size limits, ephemeral-storage requests and limits, and eviction thresholds.

ephemeral-storageemptydirevictiondisk-pressure
advanced ⏱ 15 minutes

etcd Maintenance Operations Kubernetes

Perform etcd maintenance for Kubernetes clusters. Defragmentation, compaction, snapshot backup, member health checks, and performance monitoring with etcdctl.

etcdmaintenancebackupcompaction
intermediate ⏱ 15 minutes

NFS Dynamic Provisioner Kubernetes

Deploy NFS dynamic provisioner for ReadWriteMany storage on Kubernetes. NFS CSI driver, StorageClass configuration, and performance tuning with nconnect.

nfsstoragereadwritemanyprovisioner
beginner ⏱ 15 minutes

Persistent Volume Expansion Kubernetes

Expand PersistentVolumeClaims online without downtime. allowVolumeExpansion, filesystem resize, StatefulSet PVC expansion.

pvcexpansionstoragestatefulset
beginner ⏱ 15 minutes

PV Reclaim Policy Retain vs Delete

Understand Kubernetes PersistentVolume reclaim policies. Retain vs Delete vs Recycle, recovering data from released PVs.

persistent-volumereclaim-policystoragedata-recovery
intermediate ⏱ 20 minutes

Storage Classes and Provisioners

Configure Kubernetes StorageClasses for dynamic volume provisioning. CSI drivers, reclaim policies, volume expansion, topology-aware provisioning.

storage-classcsipersistent-volumedynamic-provisioning
intermediate ⏱ 20 minutes

Velero Backup and Restore Kubernetes

Back up and restore Kubernetes applications with Velero. Scheduled backups, cross-cluster migration, selective restore, and disaster recovery workflows.

velerobackuprestoremigration
intermediate ⏱ 10 minutes

PersistentVolume Reclaim Policies

Understand Retain, Delete, and Recycle reclaim policies for PersistentVolumes. Manage PV lifecycle after PVC deletion and recover bound volumes.

persistent-volumereclaim-policystoragepvc
intermediate ⏱ 10 minutes

Kubernetes Projected Volumes Explained

Combine Secrets, ConfigMaps, Downward API and bound ServiceAccount tokens into one projected volume mount. YAML, permissions, token audience, gotchas.

projected-volumesvolumessecretsconfigmap
intermediate ⏱ 15 minutes

Kubernetes CSI VolumeSnapshot: Create and Restore

Create and restore Kubernetes CSI volume snapshots: snapshot controller, VolumeSnapshotClass, restore to a new PVC, PVC cloning, scheduled snapshots.

csisnapshotsstoragebackup
intermediate ⏱ 10 minutes

Generic Ephemeral Volumes in Kubernetes

Use generic ephemeral volumes for per-pod temporary storage with CSI driver features. Scratch space, caching, and temp data without pre-provisioned PVCs.

ephemeral-volumesstoragecsiscratch-space
intermediate ⏱ 10 minutes

Kubernetes hostPath Volume Guide

Use hostPath volumes to mount node filesystem paths into pods. Types, security risks, use cases for DaemonSets, and safer alternatives like local PVs.

hostpathvolumesstoragedaemonset
advanced ⏱ 30 minutes

Access Zones on Scale-Out NAS for Kubernetes

Configure access zones on scale-out NAS (Dell PowerScale/Isilon) for Kubernetes persistent storage. Multi-tenant isolation, CSI driver setup.

access-zonesscale-out-naspowerscaleisilon
intermediate ⏱ 10 minutes

fsGroupChangePolicy OnRootMismatch: Fix Slow Mounts

Fix slow pod starts from recursive fsGroup chown: set fsGroupChangePolicy OnRootMismatch, check CSI fsGroupPolicy, and handle OpenShift SCC fsGroup.

fsgroupchangepolicysecurity-contextpersistent-volumesperformance
intermediate ⏱ 15 minutes

K8s-IO Benchmark CLI for fio and HammerDB

Run distributed fio and HammerDB storage benchmarks on Kubernetes with K8s-IO, a lightweight Go CLI tool that replaces heavy benchmark operators.

k8s-iofiohammerdbbenchmark
advanced ⏱ 15 minutes

Distributed fio Storage Benchmark K8s

Run distributed fio benchmarks on Kubernetes and OpenShift to test storage performance at scale. Covers fio-distributed with k8s Jobs, Red Hat dbench.

fiostorage-benchmarkopenshiftperformance
intermediate ⏱ 15 minutes

OpenShift Storage Benchmark fio Config Profiles

Benchmark OpenShift and Kubernetes storage using fio with reusable YAML config profiles for random and sequential read/write I/O patterns.

fioopenshiftstorage-benchmarkperformance
intermediate ⏱ 15 minutes

K8s Storage Best Practices for Production

Production storage best practices for Kubernetes. StorageClass selection, backup strategies, volume expansion, data migration, and performance tuning.

storagebest-practicesproductionperformance
beginner ⏱ 15 minutes

Kubernetes Volume Types Explained

Compare all Kubernetes volume types: emptyDir, hostPath, PVC, ConfigMap, Secret, NFS, CSI, and projected volumes. When to use each type with examples.

volumesemptydirhostpathpvc
intermediate ⏱ 30 minutes

Longhorn Distributed Storage on Kubernetes

Install Longhorn distributed block storage on Kubernetes: prerequisites, Helm install, replicated PVCs, RWX, snapshots, recurring S3 backups and DR restore.

longhornstoragedistributedsnapshots
intermediate ⏱ 15 minutes

Fix PVC Resize Stuck or Failed

Debug PVC expansion failures in Kubernetes. Covers allowVolumeExpansion, filesystem resize, and offline vs online expansion.

pvcresizeexpansionstorage
advanced ⏱ 45 minutes

Rook Ceph on Kubernetes: Block, File and S3 Storage

Deploy Rook Ceph on Kubernetes: operator Helm install, CephCluster, RBD and CephFS StorageClasses, S3 object store, toolbox health checks and sizing.

rookcephstoragedistributed
intermediate ⏱ 30 minutes

Fio NFS Benchmark on OpenShift Nodes

Run fio NFS storage benchmarks on OpenShift using parallel pods with hostPath mounts. Measure IOPS, bandwidth, and latency across multiple NFS endpoints.

fionfsbenchmarkstorage
intermediate ⏱ 25 minutes

MachineConfig NFS Mount on OpenShift Nodes

Mount NFS shares on OpenShift worker nodes using MachineConfig systemd mount units. The only production-safe way to persist NFS mounts on RHCOS nodes.

openshiftmachineconfignfsstorage
intermediate ⏱ 20 minutes

OpenClaw Persistent State Management

Manage OpenClaw agent state and workspace data with Kubernetes PVCs. Init container config seeding, backups, and storage classes.

openclawpersistent-volumesstate-managementstorage
advanced ⏱ 15 minutes

CNPG Disaster Recovery and Replication

Set up cross-region PostgreSQL disaster recovery with CloudNativePG using replica clusters, WAL shipping, and automated failover.

cnpgpostgresqldisaster-recoveryreplication
advanced ⏱ 25 minutes

GPU Operator GDS with NVMe and NFS RDMA

Configure GPUDirect Storage for local NVMe drives and NFS over RDMA in Kubernetes, including cuFile verification and performance benchmarking.

nvidiagdsnvmenfs
advanced ⏱ 25 minutes

GPU Operator GPUDirect Storage GDS Module

Enable the GPUDirect Storage GDS module in the NVIDIA GPU Operator ClusterPolicy for direct GPU-to-storage data transfers bypassing CPU and system memory.

nvidiagpu-operatorgdsgpudirect-storage
intermediate ⏱ 15 minutes

NFSoRDMA Persistent Volume for Kubernetes

Create PersistentVolumes and StorageClasses for NFSoRDMA storage with RDMA transport, optimized mount options, and ReadWriteMany access.

nfsordmardmapersistent-volumenfs
intermediate ⏱ 20 minutes

OpenClaw Backup Restore Command Guide

OpenClaw backup and restore command guide. VolumeSnapshots, CronJobs to S3, disaster recovery procedures, and session state management on Kubernetes.

openclawbackuprestoredisaster-recovery
intermediate ⏱ 15 minutes

OpenClaw with Persistent Storage

Configure persistent storage for OpenClaw workspaces using PVCs, StorageClasses, and backup strategies in Kubernetes clusters.

openclawpersistent-storagepvcstorageclass
advanced ⏱ 45 minutes

Enable GPUDirect Storage on OpenShift

Configure GPUDirect Storage (GDS) with the NVIDIA GPU Operator on OpenShift, including the Open Kernel Module requirement and nvidia-fs verification.

nvidiagpugdsgpudirect
beginner ⏱ 15 minutes

Configure S3 Storage Permissions for ML Models

Set up S3 bucket ACLs, IAM roles, and PVC permissions so Kubernetes inference pods can securely read large ML model weights from object storage.

s3storagepermissionsacl
intermediate ⏱ 15 minutes

How to Configure Dynamic Volume Provisioning

Set up dynamic volume provisioning in Kubernetes with StorageClasses. Learn to configure provisioners for AWS EBS, GCP PD, Azure Disk, and NFS.

storagepvpvcstorageclass
intermediate ⏱ 15 minutes

How to Deploy Stateful Applications

Run stateful workloads on Kubernetes with StatefulSets. Manage stable identities, persistent storage, and ordered deployment for databases and caches.

statefulsetdatabasespersistencestorage
intermediate ⏱ 30 minutes

How to Deploy MySQL with StatefulSet

Deploy a production-ready MySQL database on Kubernetes using StatefulSet. Learn persistent storage, headless services, and backup strategies.

statefulsetmysqldatabasepersistent-storage
beginner ⏱ 15 minutes

PersistentVolumeClaims with StorageClasses

Learn how to provision persistent storage for your Kubernetes workloads using PersistentVolumeClaims and StorageClasses. Includes examples for dynamic.

storagepvcpersistentvolumestorageclass
Luca Berton Ansible Pilot Ansible by Example Open Empower K8s Recipes Terraform Pilot CopyPasteLearn ProteinLens