Storage in Kubernetes MASTERCLASS | PV, PVC, StorageClass, ConfigMap, Secret, CSI Explained

Опубликовано: 02 Июнь 2026
на канале: Cloud With VarJosh
3,400
136

📦 Storage in Kubernetes MASTERCLASS | PV, PVC, StorageClass, ConfigMap, Secret, CSI Explained

A comprehensive deep dive into Docker and Kubernetes storage, combining Days 24 to 28 of the CKA 2025 series. This session is perfect for learners who want to master container and volume storage in one go — from Docker volumes to Kubernetes PVs, PVCs, StorageClasses, ConfigMaps, and Secrets.

👉 GitHub Notes: https://github.com/CloudWithVarJosh/S...
👉 CKA 2025 Playlist:    • CKA Certification Course 2025  

✅ WHAT YOU'LL LEARN

Docker Storage Basics
How Docker uses layered storage
Differences between image layers and writable layers
What are volume and storage drivers
Docker volumes: named, anonymous, and host mounts
OS differences: Linux vs macOS vs Windows in Docker setup
Demo: Creating and using Docker volumes

Kubernetes Modular Architecture
What modularity means in Kubernetes design
Role of plugins: CRI, CNI, and CSI
How Kubernetes benefits from its plugin model

Ephemeral and Metadata Storage in Kubernetes
emptyDir volumes explained and demoed
Sharing data between containers in a Pod
downwardAPI: exposing Pod metadata to containers
Quick look: ConfigMaps and Secrets as config providers

Persistent Storage in Kubernetes
hostPath volumes: what they are, when to use
Persistent Volumes (PV) and Persistent Volume Claims (PVC)
Access Modes, Reclaim Policies, and Volume Modes
StorageClasses and dynamic provisioning
volumeBindingMode explained
Demos: Creating and binding PVs, PVCs, and StorageClasses

Kubernetes ConfigMaps and Secrets
Why and when to use ConfigMaps
Injecting environment variables vs mounting as volumes
Why and when to use Secrets
Keeping sensitive data safe in Kubernetes
Demos: Using Secrets as env vars and volumes

⏱ TIMESTAMPS

00:00:00 — Introduction
00:01:21 — Understanding Storage in Docker & Image Layers
00:09:46 — Docker Storage Explained: Volume Drivers & Storage Backends
00:13:55 — Docker Installation Differences: Linux vs macOS vs Windows
00:16:48 — Demo: Working with Docker Volumes
00:24:08 — Types of Docker Volumes Explained
00:25:56 — What is Modular Architecture? Understanding Kubernetes Core
00:35:08 — Exploring Plugins: CRI, CNI & CSI
00:47:44 — Benefits of Kubernetes Modular Architecture
00:49:40 — Understanding emptyDir Volumes (Ephemeral Storage)
00:58:52 — Demo: Sharing Data Between Containers Using emptyDir
01:09:14 — Introduction to downwardAPI
01:15:32 — Demo: Exposing Pod Metadata via downwardAPI
01:24:30 — Quick Overview: ConfigMaps & Secrets (Preview)
01:27:31 — Mapping This Series to the CKA Storage Curriculum
01:28:02 — The Evolution of Kubernetes Storage: In-Tree to CSI
01:42:42 — Understanding hostPath Volumes
01:49:20 — Demo: Using hostPath in Kubernetes
01:58:01 — What are PVs (Persistent Volumes) & PVCs (Persistent Volume Claims)?
02:05:37 — Example 1: Access Modes in PV/PVC
02:11:19 — Example 2 (AWS): Reclaim Policies & Volume Modes
02:17:39 — Demo: PV and PVC in Action
02:27:46 — Introduction to StorageClasses in Kubernetes
02:34:02 — Understanding volumeBindingMode in StorageClasses
02:37:13 — Demo: Dynamic Provisioning with StorageClass
02:41:56 — Why and What of ConfigMaps
02:50:44 — Demo: Injecting Environment Variables via ConfigMaps
02:56:24 — Demo 1: ConfigMaps as Environment Variables
03:06:24 — Demo 2: ConfigMaps as Configuration Files (Volumes)
03:23:35 — Why and What of Kubernetes Secrets
03:26:51 — Demo 1: Using Secrets as Environment Variables
03:32:15 — Demo 2: Using Secrets as Volumes
03:35:23 — Outro

🎬 Prefer watching in parts?
Day 24:    • Day 24: Docker Volumes Explained | Foundat...  
Day 25:    • Day 25: Kubernetes Core & Extensions | CNI...  
Day 26:    • Day 26: Kubernetes Volumes | Ephemeral Sto...  
Day 27:    • Day 27: Kubernetes Volumes | Persistent St...  
Day 28:    • Day 28: MASTER ConfigMaps & Secrets in Kub...  

🔗 Stay Connected
👉 LinkedIn:   / varun-joshi-2b516752  
👉 GitHub: https://github.com/CloudWithVarJosh

📌 HASHTAGS
#Kubernetes #CKA #CloudWithVarJosh #KubernetesStorage #DockerVolumes #PersistentVolumes #StorageClass #CSI #ConfigMap #KubernetesSecrets #DevOps #CKA2025 #CKACourse #KubernetesVolumes #DynamicProvisioning