Kubernetes Volumes explained | Persistent Volume, Persistent Volume Claim & Storage Class
TechWorld with Nana TechWorld with Nana
1.05M subscribers
345,864 views
0

 Published On May 16, 2020

Kubernetes Volumes | Kubernetes Persistent Volumes | Kubernetes Volume Claim | Kubernetes Volume Tutorial
► Subscribe To Me On Youtube: https://bit.ly/2z5rvTV

Kubernetes doesn't provide data persistence out of the box, which means when a pod is re-created, the data is gone.
So, you need to create and configure the actual physical storage and manage it by yourself. Once configured, you can use that physical storage using Kubernetes storage components. In this video I show you 3 different Kubernetes volume components, that you need to use to connect the actual physical storage to your pod, so that the application inside the container can access it.

The 1st component "Persistent Volume" is a cluster resource, like CPU or RAM, which is created and provisioned by administrators. The 2nd component "Persistent Volume Claim" on the other hand is a user's or pod's request for a persistent volume. With the 3rd component "Storage Class" you can dynamically provision Persistent Volume component and so automate the storage provisioning process.

► Reference to YAML Configs: https://gitlab.com/nanuchi/kubernetes...
► Volume Types: https://kubernetes.io/docs/concepts/s...
► Checkout Kubernetes Volumes Demo:    • Kubernetes ConfigMap and Secret as Ku...  


▬▬▬▬▬▬ T I M E S T A M P S
0:00 - Intro
0:20 - The need for persistent storage & storage requirements
2:05 - Persistent Volume (PV)
6:33 - Local vs Remote Volume Types
7:38 - Who creates the PV and when? (Kubernetes Administrator and Kubernetes User Role)
9:03 - Persistent Volume Claim (PVC)
10:33 - Levels of volume abstractions
12:17 - Why are these abstractions good?
13:40 - ConfigMap and Secret as volume types
15:52 - Multiple and different volume types in 1 pod
17:12 - Storage Class (SC)

-------------------------------------------------------------------------------------------------------
Full Kubernetes and Docker tutorial ► https://bit.ly/2YGeRp9
DevOps Tools, like Ansible ► https://bit.ly/2W9UEq6
Complete K8s Application Setup ►    • Complete Application Deployment using...  
Complete Jenkins Pipeline Tutorial ►    • Complete Jenkins Pipeline Tutorial | ...  

For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Also please let me know what you want to learn about Docker & Kubernetes or another technology.

#kubernetesvolumes #kubernetes #kubernetestutorial #devops #techworldwithnana
-------------------------------------------------------------------------------------------------------

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
Join private Facebook group ► https://bit.ly/32UVSZP
Don't forget to subscribe ► https://bit.ly/3mO4jxT
DEV ► https://bit.ly/3h2fqiO
INSTAGRAM ► https://bit.ly/2F3LXYJ
TWITTER ► https://bit.ly/3i54PUB
LINKEDIN ► https://bit.ly/3hWOLVT

▬▬▬▬▬▬ Courses & Bootcamp & Ebooks 🚀 ▬▬▬▬▬▬
► Become a DevOps Engineer - full educational program 👉🏼 https://bit.ly/45mXaer
► High-Quality and Hands-On Courses 👉🏼 https://bit.ly/3BNS8Kv
► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 https://bit.ly/3Ozl28x

Legal Notice:
Kubernetes and the Kubernetes logo are trademarks or registered trademarks of The Linux Foundation in the United States and/or other countries. The Linux Foundation and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Kubernetes or The Linux Foundation.

show more

Share/Embed