Загрузка...

22. Kubernetes Volumes Demo 🔥 | EmptyDir & HostPath Explained

Want to understand Kubernetes volumes in action? 🚀 In this video, I’ll walk you through a hands-on demo of EmptyDir and HostPath volumes in Kubernetes. You’ll see how EmptyDir provides temporary storage for pods, while HostPath mounts real node storage inside containers. This is a beginner-friendly Kubernetes storage tutorial that shows exactly how these volume types work in practice.

👉 If you haven’t watched the theory part yet, please check it out first:
📌 Watch Part 1 (Theory) → Kubernetes Volumes Basics | EmptyDir & HostPath Explained
🔗 https://youtu.be/JsvkVFByNrI

✔️ Learn how EmptyDir works with pod restarts
✔️ Understand HostPath and mapping node storage
✔️ Step-by-step demo with kubectl commands
✔️ Perfect for DevOps, SysAdmins & Kubernetes beginners

👉 Don’t forget to check my previous video on Kubernetes Volumes theory (link in description/cards) for complete learning!

🔥 If this helped you, like, comment, and subscribe to TechOps Tutorials for more Kubernetes deep dives.

# Commands Used in Demo
kubectl get nodes
kubectl get pods -A
kubectl apply -f emptydir-pod.yaml
kubectl exec -it emptydir-demo -- sh
kubectl delete pod emptydir-demo
kubectl apply -f hostpath-pod.yaml
kubectl exec -it hostpath-demo -- sh
minikube ssh

📚 Chapters
0:00 🎬 Intro to Volume Demo
0:34 🛠️ Minikube Setup & Cleanup
1:32 🗂️ Creating an EmptyDir Pod
5:34 ✍️ Demo: Writing to EmptyDir
7:09 🗑️ Deleting Pod to Test EmptyDir
8:53 💻 Creating a HostPath Pod
12:08 📝 Demo: Writing to HostPath
13:22 🖥️ Verifying HostPath on Node
14:12 ⚖️ EmptyDir vs. HostPath Summary
14:43 ➡️ What's Next?

🎓 *Continue Learning with These Playlists* :

🐧 *Linux for Beginners* (Start from scratch):
👉 [Watch the Playlist](https://www.youtube.com/playlist?list=PL4y5PiOmBnA84TiMlXFWflKYYhatkjQlV)

💻 *Linux Command Line Tutorials* (Terminal-focused skills):
👉 [Explore Commands](https://www.youtube.com/playlist?list=PL4y5PiOmBnA83IhbSvF2t1yJVG4qVd-yO)

🚀 *Kubernetes Series for Admins and Devs* :
👉 [Start Learning Kubernetes](https://www.youtube.com/playlist?list=PL4y5PiOmBnA9KrxpnrBzgvSpdEqD6LmtI)

---
🔔 *Subscribe for more tutorials* :
👉 [@TechOpsTutorials](https://www.youtube.com/@TechOpsTutorials?sub_confirmation=1)
#Kubernetes #DevOps #KubernetesVolumes #CloudNative #Containers

Видео 22. Kubernetes Volumes Demo 🔥 | EmptyDir & HostPath Explained канала TechOps Tutorials
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять